Home>Article>Operation and Maintenance> How to query mysql version in linux

How to query mysql version in linux

WBOY
WBOY Original
2021-12-28 16:00:15 16868browse

Method: 1. Use the "mysql -V" or "mysql --version" command to query; 2. Use the help command to query. The help command is used to display the help information of the shell's internal commands. The syntax is "mysql - -help|grep Distrib".

How to query mysql version in linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

How to query the mysql version in Linux

1. Use the following command to check the MySQL version information:

mysql -V

or

mysql --version

After the command is executed, the effect is as follows:

How to query mysql version in linux

2. Search in help mysql --help |grep Distrib

How to query mysql version in linux

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of How to query mysql version in linux. 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