Home > Operation and Maintenance > CentOS > How to check the mysql installation directory and the path of the running file in centos system

How to check the mysql installation directory and the path of the running file in centos system

王林
Release: 2020-03-20 14:16:48
Original
4097 people have browsed it

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

(recommended tutorial: centos usage tutorial)

2. Query the path of the running file

[root@Centos6x64 /]# which mysql
/usr/bin/mysql
Copy after login

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!

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