MySQL official website to download and install yum / rpm steps

1, open the browser search mysql
MySQL official website to download and install yum / rpm steps

2, click on the navigation bar "download"
MySQL official website to download and install yum / rpm steps

3. Click on the drop-down "Community Edition"
MySQL official website to download and install yum / rpm steps

4, looking for YUM library
MySQL official website to download and install yum / rpm steps

5, download files yumrpm
MySQL official website to download and install yum / rpm steps
MySQL official website to download and install yum / rpm steps

6, unloading system comes mariadb
MySQL official website to download and install yum / rpm steps

7、安装.rpm
[root@test tools]# rpm -ivh mysql80-community-release-el7-3.noarch.rpm

8、yum安装
[root@test tools]# yum install mysql-server -y

9, initialization MySQL
[root @ the Test Tools] # mysqld --initialize

10, to execute permissions
[root @ test tools] # chown -R mysql: mysql / var / lib / mysql

11, modify the configuration file is no password to log
[root @ test tools] # vi /etc/my.cnf
bottom added: skip-grant-tables

12, start MySQL and log
MySQL official website to download and install yum / rpm steps

Guess you like

Origin blog.51cto.com/kangxi/2439196