[root@localhost yum.repos.d]# yum repolist enabled | grep mysql
Repository base is listed more than once inthe configuration
Repository updates is listed more than once inthe configuration
Repository extras is listed more than once inthe configuration
Repository centosplus is listed more than once inthe configuration
mysql-connectors-community/x86_64 MySQL Connectors Community 42
mysql-tools-community/x86_64 MySQL Tools Community 51
mysql57-community/x86_64 MySQL 5.7 Community Server 207
这里默认是mysql5.7的版本,我们现在改为5.6
vi /etc/yum.repos.d/mysql-community.repo