我正在按照以下说明在 Linux 服务器上安装 MySQL 服务器这一页。我使用了此版本的 yum:mysql-community-release-el6-5.noarch.rpm,服务器操作系统版本是 2.6.32-504.16.2.el6.x86_64
我使用此命令开始安装 Mysql 服务器
sudo yum install mysql-community-server
安装未完成,我收到以下错误
> Finished Dependency Resolution
Error: Package: 2:postfix-2.6.6-6.el6_5.x86_64 (@anaconda-CentOS-201410241409.x8 6_64/6.6)
Requires: libmysqlclient.so.16()(64bit)
Removing: mysql-libs-5.1.73-3.el6_5.x86_64 (@anaconda-CentOS-20141024 1409.x86_64/6.6)
libmysqlclient.so.16()(64bit)
Obsoleted By: mysql-community-libs-5.6.26-2.el7.x86_64 (mysql56-commu nity)
Not found
Updated By: mysql-libs-5.1.73-5.el6_6.x86_64 (base)
libmysqlclient.so.16()(64bit)
Error: Package: mysql-community-server-5.6.26-2.el7.x86_64 (mysql56-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-server-5.6.26-2.el7.x86_64 (mysql56-community)
Requires: systemd
Error: Package: 2:postfix-2.6.6-6.el6_5.x86_64 (@anaconda-CentOS-201410241409.x8 6_64/6.6)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Removing: mysql-libs-5.1.73-3.el6_5.x86_64 (@anaconda-CentOS-20141024 1409.x86_64/6.6)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Obsoleted By: mysql-community-libs-5.6.26-2.el7.x86_64 (mysql56-commu nity)
Not found
Updated By: mysql-libs-5.1.73-5.el6_6.x86_64 (base)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
我尝试使用另一个 yum 版本“mysql-community-release-el7-5.noarch.rpm”,但出现了同样的错误。
我还检查了 MySQL Yum 存储库中的子存储库,查看哪些已启用或已禁用,并且 mysql56-community 已启用。
> mysql-connectors-community MySQL Connectors Community
> 14 mysql-tools-community MySQL Tools Community
> 21 mysql56-community MySQL 5.6 Community Server
> 169
如何解决这个问题并安装 Mysql 服务器?
谢谢,