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

How to query mysql version in linux

WBOY
Release: 2021-12-28 16:00:15
Original
17008 people have browsed it

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
Copy after login

or

mysql --version
Copy after login

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!

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