当前位置:网站首页>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
边栏推荐
- Amway wave C2 tools
- Set WordPress pseudo static connection (no pagoda)
- When grep looks for a process, it ignores the grep process itself
- AcWing 1142. Busy urban problem solving (minimum spanning tree)
- uva 1401 dp+Trie
- 拖拽改变顺序
- 场景实践:基于函数计算快速搭建Wordpress博客系统
- Appium foundation - appium inspector positioning tool (I)
- Right mouse button customization
- JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]
猜你喜欢
百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (下)
设置Wordpress伪静态连接(无宝塔)
2022/0524/bookstrap
JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]
Reptile practice (VI): novel of climbing pen interesting Pavilion
Let's see how to realize BP neural network in Matlab toolbox
盒子拉伸拉扯(左右模式)
刨析《C语言》【进阶】付费知识【二】
js如何快速创建一个长度为 n 的数组
JS how to quickly create an array with length n
随机推荐
Ds-5/rvds4.0 variable initialization error
AcWing 346. Solution to the problem of water splashing festival in the corridor (deduction formula, minimum spanning tree)
ROS学习(25)rviz plugin插件
刨析《C语言》【进阶】付费知识【一】
ROS learning (22) TF transformation
我如何编码8个小时而不会感到疲倦。
Errors made in the development of merging the quantity of data in the set according to attributes
AcWing 345. Cattle station solution (nature and multiplication of Floyd)
Long press the button to execute the function
百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (上)
[advanced C language] 8 written questions of pointer
Shortcut keys commonly used in idea
公钥\私人 ssh避password登陆
盒子拉伸拉扯(左右模式)
sql中批量删除数据---实体中的集合
ROS学习(十九)机器人SLAM功能包——cartographer
ZOJ Problem Set – 2563 Long Dominoes 【如压力dp】
Today's question -2022/7/4 modify string reference type variables in lambda body
POJ 3177 redundant paths POJ 3352 road construction (dual connection)
百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (下)