1、下载安装包 wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
2、yum 安装包 yum localinstall mysql57-community-release-el7-8.noarch.rpm
3、查看是否安装成功 yum repolist enabled | grep "mysql.*-community.*"
4、开始安装 yum install mysql-community-server
yum install mysql-community-devel