Centos 中的 mysql“没有标记为更新的软件包”

Centos 中的 mysql“没有标记为更新的软件包”

根据以下指南,我一直尝试在 Centos 服务器上更新 mysql:

http://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/updating-yum-repo.html

我当前的mysql版本是:

programversion: 5.1.73 - Source distribution

当我运行命令时,我得到以下信息:

[root@****~]# sudo yum update mysql-community-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fysik.dtu.dk
 * extras: mirror.fysik.dtu.dk
 * updates: mirror.fysik.dtu.dk
 * webtatic: nl.repo.webtatic.com
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
webtatic                                                 | 3.6 kB     00:00
Setting up Update Process
No Match for argument: mysql-community-release
No package mysql-community-release available.
No Packages marked for Update
[root@*****~]# sudo yum update mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fysik.dtu.dk
 * extras: mirror.fysik.dtu.dk
 * updates: mirror.fysik.dtu.dk
 * webtatic: nl.repo.webtatic.com
Setting up Update Process
No Packages marked for Update
[root@*****~]# sudo yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fysik.dtu.dk
 * extras: mirror.fysik.dtu.dk
 * updates: mirror.fysik.dtu.dk
 * webtatic: nl.repo.webtatic.com
Setting up Update Process
No Packages marked for Update

如你看到的:

No Packages marked for update

那么我该怎么做才能升级我的 mysql 版本?

答案1

您实际上尚未安装 MySQL 的 yum 存储库。根据说明,您需要先安装它。

相关内容