Record how to install mysql-Invalid GPG Key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql, mysql-invalidgpg
Record problems encountered;
Install On aliyunMySQLDue to the last error in uninstalling mysql, the check file has a problem;
There are several Processing Methods
1. Download the verification file from the mysql website.
2. Skip verification and record the second type.
Edit File/etc/yum.repos.d/mysql-community.repo
vi /etc/yum.repos.d/mysql-community.repo
<Pre class = "programlisting" style = "box-sizing: inherit; margin-top: 20px; margin-bottom: 20px; margin-left: 6px; padding: 3px 8px; border: 1px solid rgb (217,217,217); outline: 0px; font-size: 12.6814px; vertical-align: baseline; font-family: 'courier new', Courier, fixed, monospace; overflow: auto; line-height: 1.5; background: rgb (238,238,238 ); "name =" code "> # Enable to use MySQL 5.6 [mysql56-community] name = MySQL 5.6 Community Server baseurl = enabled = 1 gpgcheck = 1 --> 0 gpgkey = file: /// etc/pki/rpm-gpg/RPM-GPG-KEY-mysql </pre> <p> </p> <pre> </pre> modify gpgcheck = 0 <p> </p> <span style = "font-family: courier New, Courier, fixed, monospace "> <span style =" font-size: 12.6814px; line-height: 22.1924px "> continue installation: </span> </p> <pre name = "code" class = "html"> sudo yum install mysql-community-server </pre> <br> reference: https://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/linux-installation-yum-repo.html <br> <p> </p> <span style = "font-family: 'courier new', Courier, fixed, monospace; font-size: 12.6814px; line-height: 22.1924px "> <br> </span> </p> <br> </p> <p> <br> </p>
The above is a solution to the failure to install mysql-Invalid GPG Key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql, I hope it will help you. If you have any questions, please leave a message and I will reply to you in a timely manner. Thank you very much for your support for the help House website!