赞
踩
1.配置MySQL 8.0的安装源:
sudo rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
2.安装MySQL 8.0
sudo yum --enablerepo=mysql80-community install mysql-community-server
出现这个问题:
The GPGmmysql8ysql8cen keys listed for the "MySQL 8.0 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-client-8.0.36-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
解决办法:
yum -y install mysql-community-server --nogpgcheck
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。