执行命令后,可能会出现下面的错误信息
yum install mysql-community-server
Public key for mysql-community-libs-5.7.44-1.el7.x86_64.rpm is not installed
Failing package is: mysql-community-libs-5.7.44-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql文章来源:https://www.toymoban.com/news/detail-838437.html
原因是MySQL的GPG升级了,需要重新导入,执行下面的命令即可:文章来源地址https://www.toymoban.com/news/detail-838437.html
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
yum install mysql-community-server
到了这里,关于CentOS7 安装MySQL 5.7时,报错信息:Failing package is: mysql-community-libs-5.7.44-1.el7.x86_64的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!