问题一[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文章来源:https://www.toymoban.com/news/detail-405802.html
解决方法:
先执行:yum module disable mysql
再执行:yum -y install mysql-community-server
文章来源地址https://www.toymoban.com/news/detail-405802.html
到了这里,关于Error: Unable to find a match: mysql-community-server的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!