安装时mysql 社区服务器出现以下错误:
Command:
sudo yum install mysql-community-server
Error:
warning: /var/cache/yum/x86_64/2/mysql57-community/packages/mysql-community-libs-compat-5.7.37-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
The GPG keys listed for the "MySQL 5.7 Community Server" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: mysql-community-libs-compat-5.7.37-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
任何人都可以帮忙解决这个问题吗...
From: https://dev.mysql.com/doc/refman/8.0/en/checking-rpm-signature.html https://dev.mysql.com/doc/refman/8.0/en/checking-rpm-signature.html
没有单独的签名。 RPM 软件包具有内置的 GPG 签名和 MD5 校验和。
rpm 还支持直接从 URL 加载密钥:
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)