报错现象 在安装Mysql时,运行完命令: yum -y install mysql-commUnity-server 出现以下报错: Public key for mysql-community-c
在安装Mysql时,运行完命令:
yum -y install mysql-commUnity-server
出现以下报错:
Public key for mysql-community-common-5.7.42-1.el7.x86_64.rpm is not installedFailing package is: mysql-community-common-5.7.42-1.el7.x86_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Mysql的GPG升级了,需要重新获取
在出现此错误之后,运行以下命令:
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
随后再重新下载MySQL,即运行命令:
yum -y install mysql-community-server
来源地址:https://blog.csdn.net/qq_44627537/article/details/131429575
--结束END--
本文标题: centos7安装MySQL5.74报错:Public key for mysql-community-common-5.7.42-1.el7.x86_64.rpm is not installed
本文链接: https://lsjlt.com/news/426614.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0