mysql - centos7安装mysql出错(没有mysql-community-server包可用)

标签 mysql centos

我尝试安装 mysqlcentos-7第一次,我做了这些步骤

  • 须藤百胜本地安装https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
  • sudo yum install mysql-community-server

  • 当我到达 step two我得到了这个 error

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.ges.net.pk
    * epel: mirror.hostnet.nl
    * extras: mirror.natro.com
    * updates: mirror.radoreservers.com
    No package mysql-community-server available.
    Error: Nothing to do

    最佳答案

    1: wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
    2:rpm -ivh mysql-community-release-el7-5.noarch.rpm
    3:yum install -y mysql-community-server

    关于mysql - centos7安装mysql出错(没有mysql-community-server包可用),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71455336/

    相关文章:

    mysql - 如何在 MySQL 的 install4j 中配置执行 SQL 脚本?

    mysql - 对 5.8 MB 数据库进行 3 秒长查询

    linux - shell 脚本 : Is there a difference between "local foo" and "local foo="?

    centos - Chef chef-manage 没有出现在浏览器中?

    mysql - 查找数据库中数字范围的差距

    mysql - SQL Server 2005 执行 MySQL REPLACE INTO?

    mysql - 选择计数小于所有日期值的行

    php - CentOS 服务器安全

    mysql - 在 EC2 上停止 MySql - CentOS

    php - CentOS 6.5 中的 HHVM 优雅重启