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

  

posted @ 2020-11-25 10:53  何宇泽  阅读(5670)  评论(0编辑  收藏  举报