红联Linux门户
Linux帮助

装mysql的困惑

发布时间:2010-11-15 17:53:28来源:红联作者:昊昊荡荡
[i=s] 本帖最后由 昊昊荡荡 于 2010-11-15 18:13 编辑 [/i]

最近在学习用centos 5。3搭建LAMP。
装好centos5。3,禁用系统自带的源,配置好了国内搜狐和163源。
用yum装好了mysql、mysql-devel、mysql--server,如下:
[root@centos5 down]# rpm -qa mysql*
mysql-5.0.77-4.el5_5.4
mysql-server-5.0.77-4.el5_5.4
mysql-devel-5.0.77-4.el5_5.4

版本都是5。0。77的,听说还要装一个mysql-client。
但yum install mysql-client提示没有这个包。
http://download.mysql.cn/只有5。0。22的mysql-client包
关键是死活装不上。
请各位高手支个招吧!

补充:
历经千辛万苦,终于找到了这个包,但运行出错,大家帮我看看到底是怎么回事呢?
[root@centos5 down]# rpm -ivh MySQL-client-5.0.77-0.i386.rpm
Preparing... ########################################### [100%]
file /usr/bin/mysql from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/bin/mysql_waitpid from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/bin/mysqladmin from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/bin/mysqlbinlog from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/bin/mysqlcheck from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/bin/mysqldump from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/bin/mysqlimport from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/bin/mysqlshow from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysql.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysql_find_rows.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysql_tableinfo.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysqlaccess.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysqladmin.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysqldump.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysqlshow.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-5.0.77-4.el5_5.4.i386
file /usr/bin/mysql_upgrade_shell from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-server-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/msql2mysql.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-server-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysqlbinlog.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-server-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysqlcheck.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-server-5.0.77-4.el5_5.4.i386
file /usr/share/man/man1/mysqlimport.1.gz from install of MySQL-client-5.0.77-0.i386 conflicts with file from package mysql-server-5.0.77-4.el5_5.4.i386
[root@centos5 down]#
文章评论

共有 5 条评论

  1. sleeyoyo 于 2011-02-09 20:20:19发表:

    mysql-5.0.77-4.el5_5.4这个包已经包含了mysql-client了
    你可以用yum info mysql查看关于mysql-5.0.77-4.el5_5.4这个包的相关信息

  2. jidanjianbing 于 2011-02-09 16:51:54发表:

    自己顶,帮你顶

  3. 昊昊荡荡 于 2010-11-16 18:20:02发表:

    自己顶!自己顶!

  4. 昊昊荡荡 于 2010-11-16 17:21:27发表:

    自己顶!

  5. 昊昊荡荡 于 2010-11-16 11:24:41发表:

    难道没人知道吗?