首页 > 数据库 >安装MySQL报错

安装MySQL报错

时间:2023-01-19 17:32:48浏览次数:54  
标签:5.7 rpm GPG RPM community 报错 mysql MySQL 安装

Public key for mysql-community-common-5.7.41-1.el7.x86_64.rpm is not installed

解决方法:

重新导入秘钥

rpm --import ​​https://repo.mysql.com/RPM-GPG-KEY-mysql-2022​

然后再执行 安装命令即可

yum -y install mysql-community-server

问题2:

The GPG keys listed for the "MySQL 5.7 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.
Failing package is: mysql-community-client-5.7.39-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

网上的解决方案,同上

rpm --import ​​https://repo.mysql.com/RPM-GPG-KEY-mysql-2022​​ ———

标签:5.7,rpm,GPG,RPM,community,报错,mysql,MySQL,安装
From: https://blog.51cto.com/u_14956724/6020121

相关文章

  • centos7.8 安装单实例oracle数据库
    目录centos7.8安装单实例oracle数据库前置操作禁用TransparentHugePages安装rlwrap安装操作安装后配置修改数据存放路径(可选)其它操作oracle安装脚本执行数据库启动、......
  • 38-IK分词器的安装
    我们使用vagrant创建的虚拟机,默认没有给我们开启root权限,默认只允许ssh登录,为了后来操作方便、文件上床等,我们配置允许账号密码登录Vagrantssh进去系统之后vi/etc/ss......
  • Anaconda3安装(Win_x64)
    一、获取Anaconda3链接:https://pan.baidu.com/s/14Imqk1KBsB84Mwzebpv2BA?pwd=no2x提取码:no2x--来自百度网盘超级会员V4的分享二、安装下载好后,以管......
  • Visual Studio 2022安装过程
    官网下载地址:VisualStudio:面向软件开发人员和Teams的IDE和代码编辑器(microsoft.com) 1.下载,我的是windows系统,下载自己想要的版本  2.双击,下载的.exe安装......
  • scrapy框架安装过程报错
    FailedcleaningbuilddirforcryptographyFailedtobuildcryptographyCouldnotbuildwheelsforcryptographywhichusePEP517andcannotbeinstalleddirectl......
  • python操作mysql基础
    importpymysqlconfig={'host':'127.0.0.1','port':3306,'user':'root','password':'root','database':'sys','cursorclass':......
  • Python3.9安装
    一、安装python3.9链接:https://pan.baidu.com/s/1mDkgKt2KSoMrKVxesb76Pg?pwd=ma4n提取码:ma4n--来自百度网盘超级会员V4的分享下载python3.9,然后安装到D盘都是......
  • RabbitMQ在docker下安装启动说明
    RabbitMQ在docker下安装启动说明1.RabbitMQ消息服务器安装1.把rabbitmq-3.6.6-management.tar包放到指定的路径下面,如图所示    2.用docker指令把rabbitmq注册为......
  • centos7.9离线安装mysql5.7.40(本文使用mysql_install_db安装方法)
    centos7.9离线安装mysql5.7.40(本文使用mysql_install_db安装方法)一、卸载CentOS7系统自带mariadb#查看系统自带的Mariadb[root@NIWAY-190~]#rpm-qa|grepmariadbmari......
  • redis安装
    1.到官网寻找自己需要的版本wgethttps://github.com/redis/redis/archive/7.0.7.tar.gz2.编译&编译安装#解压并改名tarzxvf7.0.7.tar.gz-C/usr/local/mv/us......