- 工信部备案号 滇ICP备05000110号-1
- 滇公安备案 滇53010302000111
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
yum安装Mysql报错:
warning:/var/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-libs-compat
Linux使用yum安装MySQL时报错:
warning:/var/cache/yum/x86_64/7/mysql80-community/packages/mysql-community-client-8.0.28-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-mysqlThe GPG keys listed for the "MySQL 8.0 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-client-8.0.28-1.el7.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
解决方法:
1、加上--nogpgcheck就可以了:禁掉GPG验证检查
yum -y install mysql mysql-server --nogpgcheck
2、原因是Mysql的GPG升级了,重新获取下
使用以下命令即可
rpm --import https://www.landui.com/RPM-GPG-KEY-mysql-2022
然后重新执行安装成功。
售前咨询
售后咨询
备案咨询
二维码
TOP