当前位置:网站首页>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
边栏推荐
- Gin 入门实战
- C language [23] classic interview questions [Part 2]
- JS Es5 can also create constants?
- First experience of JSON learning - the third-party jar package realizes bean, list and map to create JSON format
- grep查找进程时,忽略grep进程本身
- 一文带你走进【内存泄漏】
- Clickhouse fields are grouped and aggregated, and SQL is queried according to the granularity of any time period
- C语言【23道】经典面试题【下】
- Today's question -2022/7/4 modify string reference type variables in lambda body
- swiper组件中使用video导致全屏错位
猜你喜欢

Appium foundation - appium inspector positioning tool (I)

Appium自动化测试基础 — uiautomatorviewer定位工具

The cradle of eternity

JVM memory model

BigDecimal 的正确使用方式

Clickhouse fields are grouped and aggregated, and SQL is queried according to the granularity of any time period

tansig和logsig的差异,为什么BP喜欢用tansig

The difference between Tansig and logsig. Why does BP like to use Tansig
![Yiwen takes you into [memory leak]](/img/a8/bd1a57ef3bde8910eff2a5f68296df.png)
Yiwen takes you into [memory leak]

Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)
随机推荐
Yunna - work order management system and process, work order management specification
永久的摇篮
Make DIY welding smoke extractor with lighting
How can I code for 8 hours without getting tired.
ROS learning (23) action communication mechanism
Long press the button to execute the function
JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]
ROS学习(25)rviz plugin插件
【唯一】的“万字配图“ | 讲透【链式存储结构】是什么?
Curl command
微服务架构介绍
Appium foundation - appium inspector positioning tool (I)
tansig和logsig的差异,为什么BP喜欢用tansig
Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW
LeetCode:1175. Prime permutation
开发中对集合里面的数据根据属性进行合并数量时犯的错误
Yiwen takes you into [memory leak]
swiper组件中使用video导致全屏错位
增加 pdf 标题浮窗
454-百度面经1