蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 数 据 库


    

蓝森林 http://www.lslnet.com 2006年8月26日 15:18


<求助>linux AS4 下装mysql 5.0.18.0的问题

在linux AS4 下装mysql 5.0.18.0,
[root@localhost home]# rpm -ivh MySQL-server-standard-5.0.18-0.rhel4.i386.rpm

提示
error: Failed dependencies:
        MySQL conflicts with mysql-4.1.12-3.RHEL4.1.i386



然后我想卸载mysql-4.1.12-3.RHEL4.1.i386
[root@localhost home]# rpm -e mysql-4.1.12-3.RHEL4.1

又提示
error: Failed dependencies:
        libmysqlclient.so.14 is needed by (installed) cyrus-sasl-sql-2.1.19-5.EL4.i386

郁闷了好久也没找到方法,谁能帮帮我,谢谢了

这个问题我也遇到过,还是请高手来回答吧,关注中!

呵呵,俺下载了一个MySQL-shared-compat-4.1.10-0.i386.rpm
地址是http://www.wesmo.com/rpm2html/contributed/RPMS/MySQL-shared-compat-4.1.10-0.i386.html
好象包括libmysqlclient.so.14 ,不管是什么了,就装上了
[root@localhost home]# rpm -ivh MySQL-shared-compat-4.1.10-0.i386.rpm
warning: MySQL-shared-compat-4.1.10-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:MySQL-shared-compat    ########################################### [100%]
然后我又运行[root@localhost home]# rpm -e mysql-4.1.12-3.RHEL4.1
这次就一个警告
warning: /etc/my.cnf saved as /etc/my.cnf.rpmsave
(不知道什么意思,忘高手解释,是系统保存一个备份吗?为什么呢?)
又执行,重装mysql 5.0.18.0
[root@localhost home]# rpm -ivh MySQL-server-standard-5.0.18-0.rhel4.i386.rpm
warning: MySQL-server-standard-5.0.18-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:MySQL-server-standard  ########################################### [100%]
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.

好像现在没什么问题了。先吃饭。。。



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com