Home>Article>Operation and Maintenance> 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

王林
王林 Original
2020-03-20 14:16:48 3979browse

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!

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