当前位置:网站首页>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-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://yzsam.com/2022/188/202207061817145833.html
边栏推荐
- MySQL最基本的SELECT(查询)语句
- AcWing 1141. 局域网 题解(kruskalkruskal 求最小生成树)
- Analyze "C language" [advanced] paid knowledge [i]
- 454 Baidu Mianjing 1
- golang 基础 —— 数据类型
- MySQL's most basic select statement
- POJ 3177 Redundant Paths POJ 3352 Road Construction(双连接)
- Ros Learning (23) Action Communication Mechanism
- Reptile practice (VI): novel of climbing pen interesting Pavilion
- Right mouse button customization
猜你喜欢
随机推荐
AcWing 904. 虫洞 题解(spfa求负环)
场景实践:基于函数计算快速搭建Wordpress博客系统
The use of video in the wiper component causes full screen dislocation
AcWing 1148. Secret milk transportation problem solution (minimum spanning tree)
json学习初体验–第三者jar包实现bean、List、map创json格式
AcWing 1141. 局域网 题解(kruskalkruskal 求最小生成树)
Yunna | work order management software, work order management software app
Appium foundation - appium inspector positioning tool (I)
PartyDAO如何在1年内把一篇推文变成了2亿美金的产品DAO
Clickhouse fields are grouped and aggregated, and SQL is queried according to the granularity of any time period
C language instance_ two
Gin 入门实战
Yiwen takes you into [memory leak]
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 2)
Modify the system time of Px4 flight control
POJ 3177 Redundant Paths POJ 3352 Road Construction(双连接)
Ros Learning (23) Action Communication Mechanism
Ds-5/rvds4.0 variable initialization error
Can't you understand the code of linked list in C language? An article allows you to grasp the secondary pointer and deeply understand the various forms of parameter passing in the function parameter
How did partydao turn a tweet into a $200million product Dao in one year




![Yiwen takes you into [memory leak]](/img/a8/bd1a57ef3bde8910eff2a5f68296df.png)


