Home > Database > Mysql Tutorial > How to view mysql installation information under Linux server (picture)

How to view mysql installation information under Linux server (picture)

黄舟
Release: 2017-05-21 09:21:02
Original
1304 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 How to view mysql installation information under Linux server (picture). 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