安装高版本mysql还能安装低版本_下载安装mysql时,新版本与旧版本的发生冲突的解决办法...

下面是我在学习中获取的小知识哦,在这里和大家进行一个分享,如果还有不懂,那请看一下:网络课程

在linux下安装mysql中,与旧版本冲突的一些简单的解决办法

后附DBI作用。

下载了针对rhel4的mysql5.1.50的server包和client包,传到/root下,安装,发现与以前版本冲突,那么应该:

[root@localhost ~]# ls

anaconda-ks.cfg  install.log         MySQL-client-community-5.1.50-1.rhel4.i386.rpm

Desktop          install.log.syslog  MySQL-server-community-5.1.50-1.rhel4.i386.rpm

[root@localhost ~]# rpm -ivh My*

warning: MySQL-client-community-5.1.50-1.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5

error: Failed dependencies:

MySQL conflicts with mysql-4.1.20-1.RHEL4.1.i386

MySQL-server conflicts with mysql-server-4.1.20-1.RHEL4.1.i386

[root@localhost ~]# rpm -ivh MySQL-server-community-5.1.50-1.rhel4.i386.rpm

warning: MySQL-server-community-5.1.50-1.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5

error: Failed dependencies:

MySQL conflicts with mysql-4.1.20-1.RHEL4.1.i386

MySQL-server conflicts with mysql-server-4.1.20-1.RHEL4.1.i386

试试升级安装,也不行,那么就:

[root@localhost ~]# rpm -Uvh MySQL-server-community-5.1.50-1.rhel4.i386.rpm

warning: MySQL-server-community-5.1.50-1.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5

error: Failed dependencies:

libmysqlclient.so.14 is needed by (installed) mod_auth_mysql-2.6.1-2.2.i386

libmysqlclient.so.14 is needed by (installed) php-mysql-4.3.9-3.15.i386

libmysqlclient.so.14 is needed by (installed) cyrus-sasl-sql-2.1.19-5.EL4.i386

libmysqlclient.so.14 is needed by (installed) dovecot-0.99.11-4.EL4.i386

libmysqlclient.so.14 is needed by (installed) pe

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值