Home >Operation and Maintenance >CentOS >How to check the mysql installation directory and the path of the running file in centos system
The method is as follows:
1. Check the mysql installation path
[root@Centos6x64 /]# whereis mysql mysql: /usr/bin/mysql /usr/lib64/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
(recommended tutorial: centos usage tutorial)
2. Query the path of the running file
[root@Centos6x64 /]# which mysql /usr/bin/mysql
Recommended related video tutorials: linux video tutorial
The above is the detailed content of How to check the mysql installation directory and the path of the running file in centos system. For more information, please follow other related articles on the PHP Chinese website!