一、下载
下载地址:https://dev.mysql.com/downloads/mysql/
二、解压
tar xvf mysql-5.7.36-1.el7.x86_64.rpm-bundle.tar
三、按顺序安装rpm包
rpm -ivh mysql-community-common-5.7.36-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-5.7.36-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-5.7.36-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-5.7.36-1.el7.x86_64.rpm
</