Home >Database >Mysql Tutorial >Where is the mysql installation path?
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.
How to view the mysql installation path:
Method one:
1: Query the path where the running file is located
which mysql
Then you can connect to Mysql through /usr/bin/mysql -u account -p password:
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
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!