Record how to install mysql-Invalid GPG Key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql, mysql-invalidgpg

Source: Internet
Author: User

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.