Ticker

6/recent/ticker-posts

Ad Code

Install mysql 8.0 in centos7 or amazon linux2 and got an gpg error

   

                                    









 

Install mysql 8.0 in centos7 or amazon linux2


sudo rpm -Uvh  https://dev.mysql.com/get/mysql80-community-release-el7-6.noarch.rpm


sudo yum install mysql-community-server.x86_64


Got this error then


“GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022"”


Retrieve gpg key manually


rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022


Then again


 sudo yum install mysql-community-server.x86_64


Post a Comment

0 Comments