详细参考这篇文章
https://cloud.tencent.com/developer/article/2096856
如果这一步报错
yum -y 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://blog.youkuaiyun.com/charon869/article/details/132189305
使用第一种方法即可
yum -y install mysql-community-server --nogpgcheck
本文讲述了如何在Linux系统中通过yum安装MySQL社区服务器时遇到GPG密钥未安装的问题,以及提供了解决方案,即使用`yuminstallmysql-community-server--nogpgcheck`来跳过GPG验证。
1474

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



