云服务器Yum安装mysql5.7并设置远程访问
1.按顺序执行以下命令即可完成mysql的安装wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpmyum -y install mysql57-community-release-el7-10.noarch.rpmyum -y install mysql-community-server2.启动mysql,并设置开启自动启动systemctl start mysqld.servicesy