Home >Database >Mysql Tutorial >What is the mysql version query command?
Mysql version query commands are: 1. Enter the "select version();" command and press the Enter key to view the current mysql version; 2. Enter the "status" command and press the Enter key, that is You can view the current mysql version.
The operating environment of this tutorial: windows7 system, mysql8.0 version, Dell G3 computer.
Open the mysql console on our computer and enter the password
Method 1:
Enter "select version();" command, press the Enter key
You can see the version number of mysql
Method 2:
You can enter the "status" command and press the Enter key
You will see that the version number of mysql is 5.6. 16
Related recommendations: "mysql tutorial"
The above is the detailed content of What is the mysql version query command?. For more information, please follow other related articles on the PHP Chinese website!