centos 安装mysql 5.7
https://cloud.tencent.com/developer/article/1886339
如果安装的时候出现
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql The GPG keys listed for the "MySQL 5.7 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-libs-5.7.44-1.el7.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
则执行一下以下命令行,命令行的2022年份不要改
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022

浙公网安备 33010602011771号