執(zhí)行命令后,可能會(huì)出現(xiàn)下面的錯(cuò)誤信息
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文章來源:http://www.zghlxwxcb.cn/news/detail-838437.html
原因是MySQL的GPG升級(jí)了,需要重新導(dǎo)入,執(zhí)行下面的命令即可:文章來源地址http://www.zghlxwxcb.cn/news/detail-838437.html
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
yum install mysql-community-server
到了這里,關(guān)于CentOS7 安裝MySQL 5.7時(shí),報(bào)錯(cuò)信息:Failing package is: mysql-community-libs-5.7.44-1.el7.x86_64的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!