Home > Database > Mysql Tutorial > body text

What is the command for mysql version query?

青灯夜游
Release: 2023-01-05 16:13:59
Original
14303 people have browsed it

The mysql version query command is "select version();" or "status". Specific query method: 1. Open the mysql console and enter the password; 2. Enter the "select version();" or "status" command and press Enter to view the mysql version number.

What is the command for mysql version query?

The operating environment of this tutorial: windows7 system, mysql5.6.16 version, Dell G3 computer.

mysql version query

Open the mysql console on our computer and enter the password, as shown below:

What is the command for mysql version query?

Enter the "select version();" command and press the Enter key, as shown below:

What is the command for mysql version query?

##You can see the version number of mysql, as shown in the figure below:

What is the command for mysql version query?

We can also enter the "status" command and press the Enter key, as shown in the figure below:

What is the command for mysql version query?

You can see that the version number of mysql is 5.6.16, as shown below:

What is the command for mysql version query?##Related free learning recommendations :

mysql video tutorial

The above is the detailed content of What is the command for mysql version query?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template