Home >Database >Mysql Tutorial >How to check mysql version number

How to check mysql version number

王林
王林Original
2020-11-13 15:28:3419869browse

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.

How to check mysql version number

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn