在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 by MySQL-server-5.6.17-1.el6.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.6.17-1.el6.x86_64

没有libaio,安装:

yum -y install libaio

再次运行安装命令:rpm -ivh MySQL-server-5.6.17-1.el6.x86_64.rpm

这次的错误信息是:
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6. 17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_6 4
file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.6 .17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64
file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.6. 17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_6 4
file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.6 .17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64
file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.6 .17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64
file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.6. 17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_6 4
file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server- 5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x 86_64
file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.6 .17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-serv er-5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_ 5.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server- 5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x 86_64
file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.6 .17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64
file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server -5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5. x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.6 .17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64
file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server- 5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x 86_64
file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server -5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5. x86_64
file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.6 .17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64
file /usr/share/mysql/charsets/geostd8.xml from install of MySQL-server- 5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x 86_64
file /usr/share/mysql/charsets/greek.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/hebrew.xml from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.6. 17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_6 4
file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server- 5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x 86_64
file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5 .6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x8 6_64
file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5. 6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86 _64
file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server -5.6.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5. x86_64
file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.6 .17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64

把冲突的包mysql-libs-5.1.73全部卸载:
命令是:yum -y remove mysql-libs-5.1.73*

第三次运行安装命令:rpm -ivh MySQL-server-5.6.17-1.el6.x86_64.rpm

安装成功

file /usr/share/mysql/... conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_ 64 MySQL安装的更多相关文章

  1. file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.i386 conflicts with file from package mysql-libs-5.1.73-8.el6_8.i686

    1:也许之前的机器安装过Mysql,但是自己不知道,账号密码也忘记了,又执行安装操作,导致Mysql不兼容问题.Linux上安装MySQL时出现不兼容的解决办法,错误如下所示: [root@maste ...

  2. 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 ins ...

  3. could not open extension control file "/usr/share/postgresql/9.1/extension/plpythonu.control": No such file or directory

    在使用createlang 安装plpythonu的时候出现如下错误:could not open extension control file "/usr/share/postgresql ...

  4. 【linux】CentOS安装mysql*.rpm提示conflicts with file from package的解决办法

    使用以下命令安装: rpm -ivh MySQL-server-5.6.19-1.linux_glibc2.5.x86_64.rpm 错误提示如下: Preparing...              ...

  5. CentOS安装mysql*.rpm提示conflicts with file from package的解决的方法

    CentOS 6.5下安装MySql 5.6 解压文件:tar xvf MySQL-5.6.19-1.linux_glibc2.5.x86_64.rpm-bundle.tar 释放出下面文件: MyS ...

  6. 安装MYSQL错误“conflicts with file from package mysql-libs-*” 解决方法

    安装MYSQL的时候时: 错误现象: [root@localhost opt]# rpm -ivh MySQL-server-5.5.32-1.el6.x86_64.rpm Preparing... ...

  7. python3 安装scrapy Exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1006, in check_if_exists解决方法

    错误代码: Exception: Traceback (most recent call last): File , in check_if_exists self.satisfied_by = pk ...

  8. MySQL报错: Character set ‘utf8mb4‘ is not a compiled character set and is not specified in the ‘/usr/share/mysql/charsets/Index.xml‘ file

    由于日常程序使用了字符集utf8mb4,为了避免每次更新时,set names utf8mb4,就把配置文件改了,如下: [root@~]# vim /etc/my.cnf #my.cnf [clie ...

  9. 安装mysql报错:Can't find messagefile '/usr/share/mysql/english/errmsg.sys'和/usr/bin/mysqladmin: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or

    使用yum安装mysql服务端: [root@centos ~]# yum -y install mysql-server Loaded plugins: fastestmirror, securit ...

随机推荐

  1. CentOS 6.5 安装Oracle 11G R2问题列表

    1. 文章中写vi/etc/profile #这个很重要 if [ $USER ="oracle" ]; then     if [ $SHELL="/bin/ksh&q ...

  2. unity3d的Texture2D与opencv的Mat之间的相互转换

    这里的opencv使用的是opencvsharp,它是c#语言对c++的opencv的一层封装,使得c#开发者可以更方便的使用opencv,而不必纠结于跨语言调用的问题. 因此,这里使用的opencv ...

  3. 分组 cube rollup NVL (expr1, expr2)

    cube  rollup NVL (expr1, expr2)->expr1为NULL,返回expr2:不为NULL,返回expr1.注意两者的类型要一致 NVL2 (expr1, expr2, ...

  4. Spring注解@Component、@Repository、@Service、@Controller区别 .

    Spring 2.5 中除了提供 @Component 注释外,还定义了几个拥有特殊语义的注释,它们分别是:@Repository.@Service 和 @Controller.在目前的 Spring ...

  5. 解析jquery获取父窗口的元素

    ("#父窗口元素ID",window.parent.document); 对应javascript版本为window.parent.document.getElementByIdx ...

  6. DbProviderFactory .net数据库工厂模式

    http://kb.cnblogs.com/page/72789/  工厂模式 http://www.cnblogs.com/Ruiky/archive/2012/04/19/2456784.html ...

  7. codingNet项目的创建

    首先,在codingNet上面创建一个项目(一般情况下) 然后,在本地打开项目并添加到储存库 其次,提交代码到已经创建好的项目中(注意赋值远程存储库的路径)

  8. python核心编程(第二版)习题

    重新再看一遍python核心编程,把后面的习题都做一下.

  9. ros学习笔记 - 深度传感器转换成激光数据(hector_slam)

    前提条件:1,确保读者已经安装了kinect或者其他深度摄像头的驱动,如果未安装,可以直接在网盘下载:http://pan.baidu.com/s/1hqHB10w 提取密码:wrmn 利用深度相机仿 ...

  10. Struts2注解使用说明

    Struts2注解 1 Struts2注解的作用 使用注解可以用来替换struts.xml配置文件!!! 2 导包 必须导入struts2-convention-plugin-2.3.15.jar包, ...