日期:2014-05-16  浏览次数:20604 次

redhat linux 9.0安装mysql出错
[root@localhost pub]# rpm -ivh MySQL-server-community-5.0.92-1.rhel5.i386.rpm
warning: MySQL-server-community-5.0.92-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
        libc.so.6(GLIBC_2.3.4) is needed by MySQL-server-community-5.0.92-1.rhel5
        libc.so.6(GLIBC_2.4) is needed by MySQL-server-community-5.0.92-1.rhel5
        rtld(GNU_HASH) is needed by MySQL-server-community-5.0.92-1.rhel5

后来我去下载libc.so.6(GLIBC_2.3.4)
安装又提示

[root@localhost pub]# rpm -ivh glibc-2.3.4-2.43.i386.rpm
warning: glibc-2.3.4-2.43.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
        glibc-common = 2.3.4-2.43 is needed by glibc-2.3.4-2.43
        shadow-utils < 2:4.0.3-20 conflicts with glibc-2.3.4-2.43
        nscd < 2.3.3-52 conflicts with glibc-2.3.4-2.43
怎么回事呢??提示的文件我都下载下来,安装还是出错。
------解决方案--------------------
=,=

哪有那么难啊,去官网下载你的linux对应的版本,一个rpm -i就安上了,当然你得下载四个东西,一个是服务器,一个是客户端,(还有一个是开发库,还有一个好像是头文件啥的。)
------解决方案--------------------
引用:
[root@localhost pub]# rpm -ivh MySQL-server-community-5.0.92-1.rhel5.i386.rpm
warning: MySQL-server-community-5.0.92-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependen……
你的GLIBC库太老了,归因于你的系统太老了。解决办法是用一个比较新的发行版。
MySQL-server-community-5.0.92-1.rhel5.i386.rpm
对比起十年前的东西当然是安装不上。rhel5,看到没有?
尝试用用。RedHat Enterprise Linux 5
或者是下载适用于RedHat 9.0的MySQL,但是估计很难找得到。