Home > Database > Mysql Tutorial > body text

Where is the mysql installation path?

coldplay.xixi
Release: 2020-09-27 13:55:56
Original
11368 people have browsed it

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

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

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!

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