当前位置:网站首页>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-07 01:54: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://yzsam.com/2022/188/202207061817145833.html
边栏推荐
- ROS learning (XIX) robot slam function package cartographer
- PartyDAO如何在1年内把一篇推文变成了2亿美金的产品DAO
- 糊涂工具类(hutool)post请求设置body参数为json数据
- How did partydao turn a tweet into a $200million product Dao in one year
- 百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (下)
- Gin introduction practice
- DS-5/RVDS4.0变量初始化错误
- The difference between Tansig and logsig. Why does BP like to use Tansig
- 刨析《C语言》【进阶】付费知识【完结】
- Mongodb checks whether the table is imported successfully
猜你喜欢
C语言关于链表的代码看不懂?一篇文章让你拿捏二级指针并深入理解函数参数列表中传参的多种形式
According to the analysis of the Internet industry in 2022, how to choose a suitable position?
2022/0524/bookstrap
Make DIY welding smoke extractor with lighting
LeetCode:1175. Prime permutation
修改px4飞控的系统时间
开发中对集合里面的数据根据属性进行合并数量时犯的错误
Gin 入门实战
鼠标右键 自定义
sql中批量删除数据---实体中的集合
随机推荐
mysqlbackup 还原特定的表
dvajs的基础介绍及使用
MySQL最基本的SELECT(查询)语句
2022/0524/bookstrap
Image watermarking, scaling and conversion of an input stream
制作带照明的DIY焊接排烟器
设置Wordpress伪静态连接(无宝塔)
Shell script quickly counts the number of lines of project code
Add PDF Title floating window
454 Baidu Mianjing 1
刨析《C语言》【进阶】付费知识【一】
swiper组件中使用video导致全屏错位
JS how to quickly create an array with length n
js如何快速创建一个长度为 n 的数组
CISP-PTE之命令注入篇
ZOJ Problem Set – 2563 Long Dominoes 【如压力dp】
Blue Bridge Cup 2022 13th provincial competition real topic - block painting
微服务架构介绍
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)
AcWing 361. Sightseeing cow problem solution (SPFA seeking positive ring)