Detailed introduction on how to view mysql installation information under Linux server

黄舟
Release: 2017-05-28 11:44:59
Original
2188 people have browsed it

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 path

var/lib /mysql refers to:
mysql databaseThe storage path of the fileusr/lib/mysql refers to: the installation path of mysql

#whereis mysql

#mysqladmin -u root -p variables

root 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 Detailed introduction on how to view mysql installation information under Linux server. 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