gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 19:39:28 24 4
gpt4 key购买 nike

我尝试安装 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/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com