環境:CentOS Linux release 7.6.1810
lnmp1.5
獨立下載mysql倉庫
wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-10.noarch.rpm
報錯
No package matched to upgrade: mysql57-community-release
--> Finished Dependency Resolution
Error: mysql57-community-release conflicts with mysql-community-release-el6-5.noarch
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
rpm -qa |grep mysql 查看有如下內容
mysql-community-release-el6-5.noarch
mysql-community-common-5.6.44-2.el6.x86_64
操作一下 卸載了
rpm -e --nodeps mysql-community-release-el6-5.noarch
rpm -e --nodeps mysql-community-common-5.6.44-2.el6.x86_64
重新升級
rpm -Uvh mysql57-community-release-el7-10.noarch.rpm