Home >Database >Mysql Tutorial >How to view mysql installation information under Linux server (picture)
This article mainly introduces installation information of linux to view mysql under the server. Friends who need it can refer to
View mysql Installation information:
#ps -ef | grep mysql
##usr/bin/mysql refers to: mysql running pathvar/lib /mysql refers to:
mysql databaseThe storage path of the fileusr/lib/mysql refers to: the installation path of mysql
#mysqladmin -u root -p variablesroot is your database account
After pressing Enter, you will be prompted to enter the password, enter it and fill in the above Password
corresponding to the account number. Press Enter and a large table will appear. Find the line data
dir. The following value is the path to the database.
The above is the detailed content of How to view mysql installation information under Linux server (picture). For more information, please follow other related articles on the PHP Chinese website!