CentOS 64位 安装MySQL
1、yum -y install wget
2、执行下载命令:wget https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
3、安装mysql源:yum localinstall mysql80-community-release-el7-1.noarch.rpm
4、检查是否安装成功:yum repolist enabled | grep "mysql.*-community.*"
5、卸载mariadb-libs:yum -y remove mariadb-libs
6、安装mysql:yum install mysql-community-server
7、启动服务:systemctl start mysqld
8、查看启动状态:systemctl status mysqld
9、设置开机启动:systemctl enable mysqld
systemctl daemon-reload