使用 yum -y install mysql-community-server下载的文件存储在 /var/cache/yum/x86_64/7/mysql57-community/packages 路径下,可以提前下好,然后在使用命令
yum -y install mysql-community-server
可用的源:
https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-client-5.7.32-1.el7.x86_64.rpm
国内的源:
http://mirrors.ustc.edu.cn/mysql-ftp/Downloads/
http://uni.mirrors.163.com/mysql/Downloads/