Home  >  Article  >  Database  >  What is the mysql version query command?

What is the mysql version query command?

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-05-07 17:08:1319787browse

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.

What is the mysql version query command?

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

What is the mysql version query command?

Method 1:

Enter "select version();" command, press the Enter key

What is the mysql version query command?

You can see the version number of mysql

What is the mysql version query command?

Method 2:

You can enter the "status" command and press the Enter key

What is the mysql version query command?

You will see that the version number of mysql is 5.6. 16

What is the mysql version query command?

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!

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