当前位置:网站首页>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
边栏推荐
- AcWing 345. Cattle station solution (nature and multiplication of Floyd)
- Modify the system time of Px4 flight control
- JVM memory model
- C language instance_ three
- The use of video in the wiper component causes full screen dislocation
- 爬虫实战(六):爬笔趣阁小说
- C language [23] classic interview questions [Part 2]
- Shortcut keys commonly used in idea
- AcWing 344. 观光之旅题解(floyd求无向图的最小环问题)
- Golang foundation - data type
猜你喜欢
刨析《C语言》【进阶】付费知识【完结】
Yunna - work order management system and process, work order management specification
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)
sql中批量删除数据---实体中的集合
JS how to quickly create an array with length n
LeetCode:1175. Prime permutation
Make DIY welding smoke extractor with lighting
Blue Bridge Cup 2022 13th provincial competition real topic - block painting
[advanced C language] 8 written questions of pointer
刨析《C语言》【进阶】付费知识【一】
随机推荐
AcWing 361. Sightseeing cow problem solution (SPFA seeking positive ring)
拖拽改变顺序
JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]
Modify the system time of Px4 flight control
ROS学习(23)action通信机制
ZOJ Problem Set – 2563 Long Dominoes 【如压力dp】
CISP-PTE之命令注入篇
2022/0524/bookstrap
LeetCode. 剑指offer 62. 圆圈中最后剩下的数
AcWing 1142. Busy urban problem solving (minimum spanning tree)
Shortcut keys commonly used in idea
736. LISP syntax parsing: DFS simulation questions
AcWing 1141. LAN problem solving (kruskalkruskal finding the minimum spanning tree)
刨析《C语言》【进阶】付费知识【二】
WCF基金会
2022/0524/bookstrap
一文带你走进【内存泄漏】
Clickhouse fields are grouped and aggregated, and SQL is queried according to the granularity of any time period
Errors made in the development of merging the quantity of data in the set according to attributes
Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW