Home  >  Article  >  Database  >  Where is the mysql installation path?

Where is the mysql installation path?

coldplay.xixi
coldplay.xixiOriginal
2020-09-27 13:55:5611347browse

How to check the mysql installation path: first open the terminal; then add the relevant running program, the code is [ps -ef | grep mysql], the specific path can be seen in red.

Where is the mysql installation path?

How to view the mysql installation path:

Method one:

1: Query the path where the running file is located

which mysql

Where is the mysql installation path?

Then you can connect to Mysql through /usr/bin/mysql -u account -p password:

Where is the mysql installation path?

Then execute any of the above MySQL to view the installation path. Is this very cumbersome? There is a simpler method

Method 2:

View the installation information of mysql:

ps -ef | grep mysql

Where is the mysql installation path?

You can see the specific path marked in red.

More related free learning recommendations: mysql tutorial(Video)

The above is the detailed content of Where is the mysql installation path?. 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