MySQL官网安装
yum安装
1、下载yum仓库
------> 选择Linux系统版本
https://dev.mysql.com/downloads/repo/yum/
------> 点击如下图标记,获取下载连接,并根据你想要的MySQL版本修改下载连接下载
https://dev.mysql.com/downloads/file/?id=484922
------> 我获取的链接
https://repo.mysql.com//mysql80-community-release-el7-3.noarch.rpm
修改
https://repo.mysql.com//mysql57-community-release-el7-3.noarch.rpm