爱程序网

linux下安装MySQL出错file /usr/share/mysql/charsets/l

来源: 阅读:

  linux64 red hat 6.3企业版 开始错误装了32位mysql最后怎么也装不上64mysql了,折腾了一番最后全部卸载搞定:

    file /etc/init.d/mysql from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/my_print_defaults from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/myisam_ftdump from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/myisamchk from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/myisamlog from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/myisampack from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysql_convert_table_format from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysql_fix_extensions from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysql_install_db from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysql_secure_installation from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysql_setpermission from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysql_tzinfo_to_sql from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysql_zap from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysqlbug from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysqld_multi from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysqld_safe from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysqlhotcopy from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/mysqltest from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/perror from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/replace from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/resolve_stack_dump from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/bin/resolveip from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/sbin/mysqld from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/sbin/mysqld-debug from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/my-huge.cnf from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/my-innodb-heavy-4G.cnf from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/my-large.cnf from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/my-medium.cnf from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/my-small.cnf from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/info/mysql.info.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/myisamchk.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/myisamlog.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/myisampack.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/mysql.server.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/mysql_zap.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/mysqld_multi.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/mysqld_safe.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/mysqlhotcopy.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/perror.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/man/man1/replace.1.gz from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/binary-configure from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/greek.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/hebrew.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/fill_help_tables.sql from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/mysql.server from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
    file /usr/share/mysql/ndb-config-2-node.ini from install of MySQL-server-5.5.28-1.linux2.6.x86_64 conflicts with file from package MySQL-server-5.1.7-0.i386
[root@localhost /]# MySQL-server-5.5.28-1.linux2.6.x86_64.rpmMySQL-server-5.5.28-1.linux2.6.x86_64.rpmMySQL-server-5.5.28-1.linux2.6.x86_64.rpmMySQL-server-5.5.28-1.linux2.6.x86_64.rpmMySQL-server-5.5.28-1.linux2.6.x86_64.rpm
bash: MySQL-server-5.5.28-1.linux2.6.x86_64.rpmMySQL-server-5.5.28-1.linux2.6.x86_64.rpmMySQL-server-5.5.28-1.linux2.6.x86_64.rpmMySQL-server-5.5.28-1.linux2.6.x86_64.rpmMySQL-server-5.5.28-1.linux2.6.x86_64.rpm: command not found
原因:已存在MySQL-server-5.1.7-0.i386的库(开始装错了的)所以需要先删除以前的库才能安装!

执行命令:

rpm -e MySQL-server-5.1.7-0.i386 --nodeps 强制卸载!

然后查看:

rpm -qa|grep mysql

执行安装自己的mysql:

rpm -i MySQL-server-5.1.7-0-64xx  64位的

全部卸载完再安装就没问题了

 

相关文章列表:
关于爱程序网 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 人才招聘 - 帮助