今天用yum安装mysql8.0时报错信息如下 1 2 3 4 5 6 7 8 [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 模块在安装即可 1 2 yum module disable mysql yum -y install mysql-community-server