mysql安装错误
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
解决方案
步骤一
vi /etc/yum.repos.d/mysql-community.repo
步骤二
**你是什么版本就修改啥版本的
gpgcheck=0**
[mysql80-community]
name=MySQL 8.0 Community Server
baseurl=http://repo.mysql.com/yum/mysql-8.0-community/el/7/$basearch/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql