MySQL official website to download and install the .rpm package

System Environment: Centos 7.6
database version: Server version: 8.0.17 MySQL
shut down the firewall and selinux
download dependencies: yum install -y net-tools
unloading system comes with the initial MariaDB
# yum -y the Remove MariaDB *
1, browser search MySQL
MySQL official website to download and install the .rpm package

2, navigation Download
MySQL official website to download and install the .rpm package

3, find the drop-down Community Edition
MySQL official website to download and install the .rpm package
MySQL official website to download and install the .rpm package

4, download a comparison of the whole package
MySQL official website to download and install the .rpm package
or direct download links I provide:
wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.17-1.el7.x86_64.rpm-bundle. tar

5. After the download is complete, unzip the package and upload
MySQL official website to download and install the .rpm package
MySQL official website to download and install the .rpm package
MySQL official website to download and install the .rpm package

6, the mounting order of mounting
. 1, MySQL RPM -ivh 8.0.17-1.el7.x86_64.rpm-Community-Common-
2, RPM-libs -ivh MySQL-Community-8.0.17-1.el7.x86_64.rpm
. 3, RPM -ivh MySQL-Community-Client-8.0.17-1.el7.x86_64.rpm
. 4, RPM--ivh MySQL-Community Server-8.0.17-1.el7.x86_64.rpm

7, open the password-free login settings file /etc/my.cnf
MySQL official website to download and install the .rpm package
MySQL official website to download and install the .rpm package
8, save and reboot MySQL
MySQL official website to download and install the .rpm package

9, landing
MySQL official website to download and install the .rpm package

Guess you like

Origin blog.51cto.com/kangxi/2439808