Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Analysis on how to install mysql Database with yum

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report