This article mainly introduces the installation information of mysql under Linux server. Friends who need it can refer to it. I hope it can help everyone.
View mysql installation information:
#ps -ef | grep mysql
##usr/bin/mysql refers to : The running path of mysqlvar/lib/mysql refers to: the storage path of the mysql database file
usr/lib/mysql refers to: the installation path of mysql
You will be prompted to enter after pressing Enter Password, enter the password corresponding to the account filled in above
Press Enter and a large table will appear. Find the datadir line. The following value is the path to the database.
MySQL installation and configuration diagram under Mac
MySql installation and uninstallation details Tutorial
Detailed graphic explanation of encoding settings for MySQL installation
The above is the detailed content of Example sharing of viewing mysql installation information under Linux server. For more information, please follow other related articles on the PHP Chinese website!