获取 GPG 密钥失败: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022"
mysql报错【
获取 GPG 密钥失败:
[Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022"
】
原因: GPG对于包的源key的验证没有通过
处理办法:
# 在yum install 版本后面加上 --nogpgcheck,即可绕过GPG验证成功安装
yum install mysql-community-server --nogpgcheck