Home >Database >Mysql Tutorial >how know mysql version
To check the MySQL version on a Linux system, use the following command:
<code>mysql --version</code>
This command will output the MySQL version, along with other information about the MySQL installation.
To check the MySQL version on a Windows system, open the Command Prompt and type the following command:
<code>mysql --version</code>
This command will output the MySQL version, along with other information about the MySQL installation.
There are several ways to find out the MySQL version. The most common methods are:
--version
option to display the MySQL version.version()
system variable to retrieve the MySQL version.The above is the detailed content of how know mysql version. For more information, please follow other related articles on the PHP Chinese website!