执行命令后,可能会出现下面的错误信息
yum install mysql-***munity-server
Public key for mysql-***munity-libs-5.7.44-1.el7.x86_64.rpm is not installed
Failing package is: mysql-***munity-libs-5.7.44-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
原因是MySQL的GPG升级了,需要重新导入,执行下面的命令即可:
rpm --import https://repo.mysql.***/RPM-GPG-KEY-mysql-2022
yum install mysql-***munity-server