centos7.5 mysql5.6_centos7.5安装mysql5.7,下载安装的el7的源,但是安装过程中一直提示安装的el6的包,请问要怎么处理?...

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就成功了

请问还需要查看什么地方?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值