Home >Database >Mysql Tutorial >How to check mysql version number
How to view the mysql version number: You can directly execute the [mysql -V] command on the command line to view the version number. You can also view version-related information through the [mysql --help | grep Ver] command.
The viewing method is as follows:
1. Check the version number directly in the command line
(Learning video sharing: mysql video tutorial)
mysql -V
2. Find version-related information in mysql --help
mysql --help | grep Ver
3. View version information in the mysql command line
mysql -u root -p select version();
4. Check the version information in status in the mysql command number
mysql -u root -p status;
Related recommendations: mysql tutorial
The above is the detailed content of How to check mysql version number. For more information, please follow other related articles on the PHP Chinese website!