yum安装mysql 5.6-Tenderrain
vim /etc/yum.repos.d/mysql.repo# Enable to use MySQL 5.6
name=MySQL 5.6 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
yum clean all
yum install mysql-community-server
报错:
Public key for mysql-community-common-5.6.35-2.el6.x86_64.rpm is not installed
解决方法:
https://dev.mysql.com/doc/refman/5.6/en/checking-gpg-signature.html
复制链接中的PUBLIC KEY到mysql_pubkey.asc 执行
gpg --import mysql_pubkey.ascrpm --import mysql_pubkey.asc
页:
[1]