前言
2022年2月,在虚拟机安装MySQL5.7没问题,在阿里云装MySQL5.6也没问题
但是,在阿里云服务器装MySQL5.7各种报错信息
执行yum -y install mysql-server报错如下
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-server-5.7.37-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
然后执行systemctl start mysqld报错如下
Failed to start mysqld.service: Unit not found.
大概意思是:
MySQL 5.7 Community Server的仓库已装,但GPG校验不对
GPG签名主用于Linux实现官方发布的包的签名机制,用于软件下载的安全
执行yum命令时,会

最低0.47元/天 解锁文章
752

被折叠的 条评论
为什么被折叠?



