一、下载MySQL官方的yum repository wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 二、安装rpm包 yum -y install mysql57-community-release