0

一直试图在 Windows Azure 上的 OpenLogic Centos VM 上安装 MySQL 5.5,但它一直失败说依赖失败。

尝试使用 remi repo 没有运气。

希望有建议在 Windows Azure 上的 CentOS VM 上安装 MySQL 5.5

命令运行 -

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

yum --enablerepo=remi,remi-test install mysql mysql-server

输出 -

Loaded plugins: security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: real-mysql-libs(x86-64) = 5.5.33-1.el6.remi for package: mysql-5.5.33-1.el6.remi.x86_64
---> Package mysql-server.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.5.33-1.el6.remi.x86_64
--> Processing Dependency: libz.so.1(ZLIB_1.2.0)(64bit) for package: mysql-server-5.5.33-1.el6.remi.x86_64
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.67-1.el6_3 will be updated
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
---> Package mysql-libs.x86_64 0:5.5.33-1.el6.remi will be an update
---> Package mysql-server.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: libz.so.1(ZLIB_1.2.0)(64bit) for package: mysql-server-5.5.33-1.el6.remi.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
--> Running transaction check
---> Package compat-mysql51.x86_64 0:5.1.54-1.el6.remi will be installed
---> Package mysql-server.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: libz.so.1(ZLIB_1.2.0)(64bit) for package: mysql-server-5.5.33-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-server-5.5.33-1.el6.remi.x86_64 (remi)
           Requires: libz.so.1(ZLIB_1.2.0)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
4

1 回答 1

1

您需要一些依赖项才能使其运行。

Remi 对 CentOS 6 和 Red Hat (RHEL) 6 的依赖

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

安装 MySQL 服务器

yum --enablerepo=remi,remi-test install mysql mysql-server

查看CentOS 6.2 中的将 MySQL 版本从 5.1 更新到 5.5

于 2013-08-31T19:30:41.680 回答