yum安装mysql5.7

[root@ycj ~]# wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm

//下载安装yum仓库

[root@ycj ~]# yum -y install mysql57-community-release-el7-10.noarch.rpm

[root@ycj ~]# yum -y install mysql-community-server

[root@ycj ~]# systemctl start mysqld.service

猜你喜欢

转载自www.cnblogs.com/cxyxc/p/9556892.html