The GPG key for resolving source "MySQL 8.0 Community Server" is installed, but not available for this package. Please check if the source's public key URL is configured correctly.

insert image description here

The GPG key for source 'MySQL 8.0 Community Server' is installed, but not for this package. Please check if the source's public key URL is configured correctly.

The failing package is: mysql-community-server-8.0.31-1.el7.x86_64 The GPG key configuration is: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

 sudo yum install mysql-server --nogpgcheck

insert image description here

Guess you like

Origin blog.csdn.net/weixin_43344151/article/details/130439339