Example sharing of viewing mysql installation information under Linux server

小云云
Release: 2018-01-24 13:34:15
Original
2201 people have browsed it

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 mysql

var/lib/mysql refers to: the storage path of the mysql database file
usr/lib/mysql refers to: the installation path of mysql

#whereis mysql

#mysqladmin -u root -p variables

root is your database account

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.

Related recommendations:

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!

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