RedHat 9.0下自带的mysql rpm包为mysql-3.23.54a-11.i386.rpm,如果在你安装操作系统时没有安装mysql,后来安装mysql时:
以下为引用的内容:
shell> rpm -ivh mysql-3.23.54a-11.i386.rpm
warning: mysql-3.23.54a-11.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
perl-DBD-MySQL is needed by mysql-3.23.54a-11
系统会提示包倚赖关系,在系统盘中找,有perl-DBD-MySQL-2.1021-3.i386.rpm包,安装之.
shell> rpm -ivh perl-DBD-MySQL-2.1021-3.i386.rpm
..........................................
error: Failed dependencies:
libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1021-3
在系统光盘上找,在google上找相关文档,关于libmysqlclient.so.10的有价值的信息一点都没有。找了一台在安装操作系统时就安装了mysql的机器,用rpm -qa去查有关mysqlclient的信息。结果压根什么都没有。
于是尝试安装mysql-3.23.54a-11.i386.rpm加--nodeps参数.
以下为引用的内容:
shell>rpm -ivh mysql-3.23.54a-11.i386.rpm --nodeps
warning: mysql-3.23.54a-11.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:mysql ########################################### [100%]
再安装perl-DBD-MySQL-2.1021-3.i386.rpm
shell>rpm -ivh perl-DBD-MySQL-2.1021-3.i386.rpm
warning: perl-DBD-MySQL-2.1021-3.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:perl-DBD-MySQL ########################################### [100%]
12 下一页
本文来源:<img src=/images/sina.gif b 作者:佚名