当前位置:网站首页>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-server
3.不行的话,可以用这个:
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
边栏推荐
- 永久的摇篮
- 【唯一】的“万字配图“ | 讲透【链式存储结构】是什么?
- Gin introduction practice
- Compile command line terminal swift
- POJ 3177 redundant paths POJ 3352 road construction (dual connection)
- Make DIY welding smoke extractor with lighting
- C language instance_ two
- CISP-PTE实操练习讲解(二)
- dvajs的基础介绍及使用
- AcWing 1141. LAN problem solving (kruskalkruskal finding the minimum spanning tree)
猜你喜欢
盒子拉伸拉扯(左右模式)
Blue Bridge Cup 2022 13th provincial competition real topic - block painting
mongodb查看表是否导入成功
How can I code for 8 hours without getting tired.
AcWing 361. 观光奶牛 题解(spfa求正环)
New job insights ~ leave the old and welcome the new~
Shell script quickly counts the number of lines of project code
[unique] what is the [chain storage structure]?
JS how to quickly create an array with length n
2022/0524/bookstrap
随机推荐
长按按钮执行函数
Mongodb checks whether the table is imported successfully
mongodb查看表是否导入成功
When grep looks for a process, it ignores the grep process itself
AcWing 346. Solution to the problem of water splashing festival in the corridor (deduction formula, minimum spanning tree)
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)
AcWing 1148. 秘密的牛奶运输 题解(最小生成树)
swiper组件中使用video导致全屏错位
ROS学习(二十)机器人SLAM功能包——rgbdslam的安装与测试
设置Wordpress伪静态连接(无宝塔)
AcWing 344. Solution to the problem of sightseeing tour (Floyd finding the minimum ring of undirected graph)
Instructions for using the domain analysis tool bloodhound
C language instance_ four
How can I code for 8 hours without getting tired.
ROS学习(21)机器人SLAM功能包——orbslam的安装与测试
AcWing 1142. Busy urban problem solving (minimum spanning tree)
shell脚本快速统计项目代码行数
Drag to change order
Appium foundation - appium inspector positioning tool (I)
json学习初体验–第三者jar包实现bean、List、map创json格式