CentOS 64 bit installation MySQL

1、yum -y install wget

2, the download command: wget https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
. 3, install mysql source: yum localinstall mysql80-community-release -el7-1. .noarch.rpm
4, check whether the installation was successful: yum repolist enabled | grep "mysql * - community *.."

5, unloading-libs MariaDB: Remove MariaDB yum -Y-libs
. 6, mounted mysql: yum install mysql-community- server

7, start the service: systemctl start mysqld

8, view the start status: Status systemctl mysqld
. 9, boot settings: systemctl enable mysqld
systemctl daemon-reload

Guess you like

Origin www.cnblogs.com/wantnewlive/p/12100390.html