Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Analysis of MySQL process of Linux system installation

Shulou Source: shulou.com Published: 2022-06-03 07:47:59 11月23日 Update

This article mainly gives you a brief talk about Linux system installation MySQL process parsing, related professional terms you can check the Internet or find some related books to supplement, here we will not dabble in, let's go straight to the Linux system installation MySQL process parsing topic, hope to bring you some practical help.

Find out if the virtual machine has a mysql database, and find and delete the database that comes with it, and confirm

Download the mysql installation package file (wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm)

Install the mysql-community-release-el7-5.noarch.rpm package (rpm-ivh mysql-community-release-el7-5.noarch.rpm)

After the installation is complete, two new yum source files, mysql-community.repo and mysql-community-source.repo, will be added in the / etc/yum.repos.d/ directory.

4. Install MySQL (yum install mysql-server)

5. Check whether MySQL is installed successfully (rpm-qa | grep mysql)

6. Start the MySQL service (in several ways, boot is usually set for convenience)

① systemctl start mysqld.service # starts mysql

② systemctl restart mysqld.service # restart mysql

③ systemctl stop mysqld.service # stop mysql

④ systemctl enable mysqld.service # sets mysql boot

7. Log in to MySQL (no password for the first time)

8. Set the password and refresh it (use your own password)

9. Set remote host login (only change the password in the last "")

10. Test the link using the native MySQL tool (Navicat is used here)

Linux system installation MySQL process analysis will first tell you here, for other related issues you want to know can continue to pay attention to our industry information. Our section will capture some industry news and professional knowledge to share with you every day.

Tags: Password process system specialty data database industry login success expertise two host subject book content actual tool file news method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Information MySQL vpn NVidia