1.执行:
[root@localhost ~]# yum install -y mysql-community-server
报错:
所有的匹配结果均已经被参数的模块化过滤条件筛除: mysql-community-server
错误:没有任何匹配: mysql-community-server
办法:关掉mysql模块,再次执行
yum module disable mysql
2.执行:[root@localhost ~]# yum install -y mysql-community-server
报错:导入公钥成功,导入的密钥没有公钥,错误的公钥? 错误:GPG 检查失败
办法:
[root@localhost ~]# rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
[root@localhost ~]# yum install -y mysql-community-server