1、关闭防火墙
关闭防火墙:systemctl stop firewalld.service
开启防火墙:systemctl start firewalld.service
查看防火墙当前状态:systemctl status firewalld.service
关闭防火墙开机自启动:systemctl disable firewalld.service
开启防火墙开机自启动:systemctl enable firewalld.service
2、安装mysql15.7
1、下载
使用命令
wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
注:若报未找到命令wget,使用yum -y install wget 来安装该命令
2、安装
使用命令
yum -y install mysql57-community-release-el7-10.noarch.rpm
yum -y --nogpgcheck install mysql-comm