当前位置:   article > 正文

CentOS7安装MySQL8报错_failing package is: mysql-community-client-8.0.36-

failing package is: mysql-community-client-8.0.36-1.el7.x86_64 gpg keys are

1.配置MySQL 8.0的安装源:

sudo rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm

2.安装MySQL 8.0

sudo yum --enablerepo=mysql80-community install mysql-community-server

出现这个问题:

The GPGmmysql8ysql8cen 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.36-1.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

解决办法:

yum -y install mysql-community-server --nogpgcheck

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/402406
推荐阅读
相关标签
  

闽ICP备14008679号