centos7怎么查看mysql版本号

Method One: Using Command Line

If you have access to the command line interface, then you can easily find the version number of MySQL installed on centos 7 by entering the command below:

mysql –version

Once you hit enter, the system will display the version number of the MySQL installed on your system.

Method Two: Utilizing phpmyadmin

If you have PhpMyAdmin installed on your centos 7 system, then finding the MySQL version number is quite easy. All you have to do is:

Launch your web browser and enter the following URL in the address bar: http://localhost/phpmyadmin/

Enter your login credentials to access PhpMyAdmin.

Once you are logged in, look for the “Server” tab on the top of the screen and click on it.

Next, look for “MySQL” to locate the version number of MySQL installed on the CentOS 7 system.

Method Three: Using RPM Query Method

The RPM package management system is another way to check the version number of MySQL installed on your CentOS 7 system.

To do this, enter the following command in your terminal or command prompt:

 rpm -qa | grep mysql 

Once you hit enter, the system will display the installed version of MySQL. If nothing is displayed, it means that MySQL is not installed on your CentOS 7 system.

Conclusion

In this article, we have explored three different methods to check the version number of MySQL installed on a CentOS 7 system. Depending on your preference, you can choose any of the above-mentioned methods to find the information you require.

版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《centos7怎么查看mysql版本号》
文章链接:https://zhuji.vsping.com/17544.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。