centos7.5安装mysql5.7,下载安装的el7的源,但是安装过程中一直提示安装的el6的包。
以下是源安装信息:
Running transaction
Installing : mysql57-community-release-el7-11.noarch 1/1
Verifying : mysql57-community-release-el7-11.noarch 1/1
Installed:
mysql57-community-release.noarch 0:el7-11
以下是安装过程中的信息:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.7.28-1.el6 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.7.28-1.el6 for package: mysql-community-server-5.7.28-1.el6.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 5.7.9 for package: mysql-community-server-5.7.28-1.el6.x86_64
......
查看了/etc/yum.repos.d/mysql-community.repo配置文件:
[mysql56-community]
name=MySQL 5.6 Community Server
baseurl=http://repo.mysql.com/yum/mys...$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
[mysql57-community]
name=MySQL 5.7 Community Server
baseurl=http://repo.mysql.com/yum/mys...$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
应该也没有问题,但是就是一直出现上面的问题,最后没办法只能修改配置文件,安装5.6就成功了
请问还需要查看什么地方?