当前位置:网站首页>centos8安装mysql报错:The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already ins
centos8安装mysql报错:The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already ins
2022-07-06 18:17:00 【[email protected]】
目录
centos8安装mysql报错:The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
报错信息、报错截图示下:
安装sql命令如下:
yum install mysql-community-server 如上述命令,要安装MySQL数据库,执行了上述命令后,却提示报错:The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.
报错截图如下:

原因分析:
- GPG keys是安装包发布时生成的密钥,安装是需要核对密钥来确保安全性
解决办法:
1.可以先尝试这个:
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*2.然后再执行:
yum install mysql-community-server3.不行的话,可以用这个:
sudo yum -y install * --nogpgcheck
注意事项:
如果上述操作仍不能解决问题,只能建议卸载全部SQL相关模块及其所有文件夹,然后重新选择SQL元下载地址,重新安装SQL了。
【本人遇到过该情况,并成功处理,所以总结一下。】
以上就是关于centos8安装mysql报错:The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_46504244/article/details/125589431
边栏推荐
- 百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (上)
- Golang foundation - data type
- Domestic images of various languages, software and systems. It is enough to collect this warehouse: Thanks mirror
- Blue Bridge Cup 2022 13th provincial competition real topic - block painting
- Start from the bottom structure to learn the customization and testing of fpga---- FIFO IP
- 2022/0524/bookstrap
- 初识MySQL
- Appium基础 — Appium Inspector定位工具(一)
- tansig和logsig的差异,为什么BP喜欢用tansig
- Gin 入门实战
猜你喜欢

Shell script quickly counts the number of lines of project code

Analyze "C language" [advanced] paid knowledge [i]

鼠标右键 自定义

ROS學習(23)action通信機制

微服务架构介绍

According to the analysis of the Internet industry in 2022, how to choose a suitable position?

454-百度面经1

AcWing 1148. 秘密的牛奶运输 题解(最小生成树)

我如何编码8个小时而不会感到疲倦。
![JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]](/img/40/da56fe6468da64dd37d6b5b0082206.png)
JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]
随机推荐
猫猫回收站
AcWing 1142. Busy urban problem solving (minimum spanning tree)
C language instance_ two
盒子拉伸拉扯(左右模式)
Right mouse button customization
长按按钮执行函数
MySQL's most basic select statement
Get to know MySQL for the first time
CISP-PTE之命令注入篇
AcWing 1140. Shortest network (minimum spanning tree)
tansig和logsig的差异,为什么BP喜欢用tansig
Related programming problems of string
Amway wave C2 tools
mongodb查看表是否导入成功
LeetCode. 剑指offer 62. 圆圈中最后剩下的数
Analyze "C language" [advanced] paid knowledge [i]
Yunna - work order management system and process, work order management specification
ROS学习(二十)机器人SLAM功能包——rgbdslam的安装与测试
ROS学习(26)动态参数配置
mysqlbackup 还原特定的表