Linux AS4 下装mysql 的问题

在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.

 

OK搞定了!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值