0


Error: Unable to find a match: mysql-community-server

问题一[root@lsN4FrHvLd mysql]# yum install mysql-community-server
Repository extras is listed more than once in the configuration
Last metadata expiration check: 0:15:07 ago on Mon 18 Jul 2022 08:32:24 AM CST.
No match for argument: mysql-community-server
Error: Unable to find a match: mysql-community-server

今天使用centos8.5安装MySQL出现如上错误

显示

参数不匹配:mysql community server

错误:无法找到匹配项:mysql community server

解决办法,第一步查看是否安装MySQL源

检查mysql源是否安装成功

yum repolist enabled | grep "mysql.*.community.*"

如看到没有

请.安装mysql源在进行安装

yum localinstall mysql57-community-release-el7-8.noarch.rpm

再进行安装MySQL

yum install mysql-community-server
若看到已安装MySQL源,

问题二[root@lsN4FrHvLd mysql]# yum install -y mysql-community-server
Repository epel is listed more than once in the configuration
Last metadata expiration check: 0:05:17 ago on Tue 24 Aug 2021 11:17:14 AM CST.
All matches were filtered out by modular filtering for argument: mysql-community-server
Error: Unable to find a match: mysql-community-server

解决方法:
先执行:yum module disable mysql
再执行:yum -y install mysql-community-server

标签: 大数据

本文转载自: https://blog.csdn.net/qq_39840846/article/details/125840918
版权归原作者 秋林辉 所有, 如有侵权,请联系我们删除。

“Error: Unable to find a match: mysql-community-server”的评论:

还没有评论