linux下安装MySQL出错file /usr/share/mysql/charsets/latin2.xml from install of MySQL-......

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
[[email protected] /]# 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位的

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

时间: 2024-10-30 22:44:05

linux下安装MySQL出错file /usr/share/mysql/charsets/latin2.xml from install of MySQL-......的相关文章

file /usr/share/mysql/... conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64 MySQL安装

在CentOS 6.5安装MySQL 5.6.17,安装到最后一个rpm文件MySQL-server时 安装命令是:rpm -ivh MySQL-server-5.6.17-1.el6.x86_64.rpm 出现了错误信息: error: Failed dependencies: libaio.so.1()(64bit) is needed by MySQL-server-5.6.17-1.el6.x86_64 libaio.so.1(LIBAIO_0.1)(64bit) is needed b

JDK1.8在LINUX下安装步骤

JDK1.8在LINUX下安装步骤: 在/usr/lib/目录下新建jvm文件夹,如果已有jvm文件夹,则将之前的JDK版本删除,即在jvm目录下执行命令:rm –rf * 将JDK文件jdk-8u40-linux-x64.gz拷贝到/home/目录下: 在/home/目录下执行命令:tar zxvf ./jdk-8u40-linux-x64.gz  -C /usr/lib/jvm  (注意:需要root权限) 修改环境变量,执行命令:vi ~/.bashrc 在文件内容的末尾添加以下内容: e

linux下安装mysql问题总结(一)mysqld_safe mysqld from pid file /usr/local/mysql/data/mysql.pid ended

linux下安装mysql数据库 linux版本:CentOS release 6.8 (Final) mysql版本:mysql-5.7.16-linux-glibc2.5-x86_64.tar.gz 在安装数据库过成中,输入启动mysql命令:/usr/local/mysql/support-files/mysql.server start 报错信息如图: 进入/usr/local/mysql/data目录下查看报错日志: 经在网上查找解决方案,折腾了一翻还是不行,后来发现在初始化数据库步骤

linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.

linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql. 2013-03-04 15:34wdjhz | 分类:服务器软件 | 浏览5318次 configure: error: Cannot find MySQL header files under /usr/include/mysql.Note that the MySQL client library is not bun

操作笔记:linux下安装mysql

1,检查linux下是否安装了mysql shell指令如下: [[email protected] ~]# rpm -qa|grep -i mysql 如果有的话:做出挨个删除(eg:rpm -ev mysql-connector-odbc-5.2.5-6.el7.x86_64) [[email protected] ~]# rpm -qa|grep -i mysql mysql-connector-odbc-5.2.5-6.el7.x86_64 mysql-proxy-devel-0.8.5

MySQL Study之--Linux下安装MySQL workbench工具

MySQL Study之--Linux下安装MySQL workbench工具 系统环境:      操作系统: RedHat EL6.4(64)      WorkBench: mysql-workbench-community-6.0.9 MySQL Workbench是一款专为MySQL设计的ER/数据库建模工具.它是著名的数据库设计工具DBDesigner4的继任者.你可以用MySQL Workbench设计和创建新的数据库图示,建立数据库文档,以及进行复杂的MySQL 迁移. MySQ

在Linux下安装和使用MySQL

目录: 一.引言 二.安装Mysql 三.登录MySQL 四.MySQL的几个重要目录 五.修改登录密码 六.启动与停止 七.更改MySQL目录 八.MySQL的常用操作 九.增加MySQL用户 十.备份与恢复 一.引言 想使用Linux已经很长时间了,由于没有硬性任务一直也没有系统学习,近日由于工作需要必须使用Linux下的MySQL.本以为有Windows下使用SQL Server的经验,觉得在Linux下安装MySql应该是易如反掌的事,可在真正安装和使用MySQL时走了很多弯路,遇见很多

(转载)Linux下安装配置MySQL+Apache+PHP+WordPress的详细笔记

Linux下安装配置MySQL+Apache+PHP+WordPress的详细笔记 Linux下配LMAP环境,花了我好几天的时间.之前没有配置过,网上的安装资料比较混乱,加上我用的版本问题,安装过程中出现了一些错误,经过好几次安装,翻了好多资料,最后找出问题的所在,才把环境搭建好,对于高手来说,这或许不算什么,但对于一个刚入门的新人,却是不一样了,这篇文章记录着我的一些笔记,希望对于那些刚刚入门的人们有所帮助,仅作为参考. 安装首先我们得获得MySQL,Apache,PHP,WordPress

Linux下安装MySQL 5.7

本次分享如何在Linux下安装MySQL 5.7 操作系统版本:RedHat/CentOS 6.6 X64 MySQL版本:5.7.11 安装方式:二进制 MySQL下载地址:http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.11-linux-glibc2.5-x86_64.tar.gz 安装过程: [[email protected] ~]# mkdir /data/dbwyzc -p 1.创建MySQL安装目录 2.创建一个不允许登