免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2924 | 回复: 5
打印 上一主题 下一主题

<求助>linux AS4 下装mysql 5.0.18.0的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-06 10:18 |只看该作者 |倒序浏览
在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

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

论坛徽章:
0
2 [报告]
发表于 2006-04-06 10:39 |只看该作者
这个问题我也遇到过,还是请高手来回答吧,关注中!

论坛徽章:
0
3 [报告]
发表于 2006-04-06 11:32 |只看该作者
呵呵,俺下载了一个MySQL-shared-compat-4.1.10-0.i386.rpm
地址是http://www.wesmo.com/rpm2html/co ... -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.

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

论坛徽章:
0
4 [报告]
发表于 2007-08-07 22:43 |只看该作者

ding

刚才我也遇到你同样的问题了,现在按你的方法解决了  谢谢拉

论坛徽章:
0
5 [报告]
发表于 2007-08-08 10:48 |只看该作者
warning: /etc/my.cnf saved as /etc/my.cnf.rpmsave
这个又不是什么错误,汗..
不需要再重装的

论坛徽章:
0
6 [报告]
发表于 2007-08-08 10:49 |只看该作者
楼主是因为缺少依赖包
最好先装
如果强行装,用--nodeps 还不行,就用--force
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP