stone5751 2009-11-20 16:06
浏览 186
已采纳

关于mysql组件冲突的问题

redhat5装邮件服务器,到最后一步,出现了:

Transaction Check Error: file /usr/share/man/man1/mysql_config.1.gz from install of mysql-server-5.0.22-2.1.0.1 conflicts with file from package MySQL-devel-community-5.1.39-0.rhel5
file /usr/bin/mysql_config from install of mysql-5.0.22-2.1.0.1 conflicts with file from package MySQL-devel-community-5.1.39-0.rhel5
我知道是装了两个版本的mysql但是,当我
rpm -qa|grep -i mysql
时,没有mysql-5.0.22-2.1.0.1和mysql-server-5.0.22-2.1.0.1这个版本,只有
MySQL-client-community-5.1.39-0.rhel5
MySQL-devel-community-5.1.39-0.rhel5
MySQL-shared-community-5.1.39-0.rhel5
MySQL-server-community-5.1.39-0.rhel5
我不知道怎么样才能卸载掉那个mysql-5.0.22-2.1.0.1和mysql-server-5.0.22-2.1.0.1

rpm -e mysql-server-5.0.22-2.1.0.1
没有用,他提示
error: package mysql-server-5.0.22-2.1.0.1 is not installed
[b]问题补充:[/b]
一楼的回答,我看不懂什么意思呀?

  • 写回答

1条回答 默认 最新

  • 紫翎观星 2009-11-20 16:24
    关注

    ./mysql -uroot -p -S /tmp/mysql5.sock 如果不加参数-S,则在默认目录去找mysql.sock

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?