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