1.查看是否已经安装过mysql或其依赖,若已装过要先将其删除,否则第4步使用yum安装时会报错: 方法一:yum list installed | grep mysql 方法二:rpm -qa |grep mysql 2.下载载mysql57-community-release-el6-5.noarch.rpmwget https://repo.mysql.com//mysql57-community-release-el5-8.noarch.rpm --no-check-certifica…