【发布时间】:2021-01-11 04:32:54
【问题描述】:
我尝试安装 MariaDB
$ sudo yum -y install MariaDB-server MariaDB-client
但是yum返回错误
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.halifax.rwth-aachen.de
* epel: mirror.imt-systems.com
* extras: mirror.imt-systems.com
* remi-php72: mirror.23media.com
* remi-safe: mirror.23media.com
* updates: mirror.alpix.eu
No package MariaDB-server available.
No package MariaDB-client available.
Error: Nothing to do
我还在 /etc/yum.repos.d/MariaDB.repo 中添加了 Mariadb 存储库 MariaDB.repo 是:
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
【问题讨论】:
-
5.5 大约在 9 年前发布,下一个主要版本大约在 7 年前问世。拍摄更新的东西。
标签: centos package mariadb centos7 yum