Get the App
SLTechnology News&Howtos  ›  Database  › 

Analysis on how to install mysql Database with yum

Shulou Source: shulou.com Published: 2022-06-01 20:07:33 10月04日 Update

The following mainly brings you how to use yum to install mysql database analysis, hope that using yum how to install mysql database analysis can bring you practical use, this is also my main purpose of editing this article. All right, don't talk too much nonsense, let's just read the following.

1. Check whether it has been installed:

Yum list installed mysql

Rpm-qa | grep mysql

2. Check to see if there are any packages installed:

Yum list mysql

3. Install mysql database cloud server and client at the same time

Yum install-y mysql-server mysql mysql-deve

4. Start and initialize the database

Service mysqld start

5. The mysqld service does not start automatically.

Chkconfig mysql on

6. View

Chkconfig-- list | grep mysql

7. The main configuration file of MYSQL database

/ etc/my.cnf

8. Data storage location of MYSQL database

/ var/lib/mysql

9. Log storage location of MYSQL database

/ var/log

10. YUM uninstalls the database

Yum-y remove mysql

For the above about how to use yum to install mysql database analysis, we do not find it very helpful. If you need to know more, please continue to follow our industry information. I'm sure you'll like it.

Tags: Data database following location content service at the same time actual customer client nonsense file log more server usefulness purpose article industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MySQL Xiaomi Redmi OPPO Reno