centos8.2安裝mysql8.0時報錯Error:Unable to find a match: mysql-community-server


centos8.2安裝mysql8.0時報錯Error:Unable to find a match: mysql-community-server

 

今天用yum安裝mysql8.0時報錯信息如下

[root@mysql ~]# yum install -y mysql-community-server
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Last metadata expiration check: 0:09:26 ago on Wed 25 Nov 2020 10:22:45 AM CST.
All matches were filtered out by modular filtering for argument: mysql-community-server
Error: Unable to find a match: mysql-community-server

  

解決方法:

先禁用本地的 MySQL 模塊在安裝即可

yum module disable mysql
yum -y install mysql-community-server

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM