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
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341