在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. checkbox全选-取消-再全选没有显示问题

    源码: <input type="checkbox" id="cleckAll" />全选 <div class="list&quo ...

  2. 图片javascript缩小

    function SetSize(obj, width, height) { myImage = new Image(); myImage.src = obj.src; if (myImage.wid ...

  3. 【如何快速的开发一个完整的iOS直播app】(播放篇)

    原文转自:袁峥Seemygo    感谢分享.自我学习 前言 在看这篇之前,如果您还不了解直播原理,请查看上篇文章如何快速的开发一个完整的iOS直播app(原理篇) 开发一款直播app,集成ijkpl ...

  4. discuz MVC结构分析

    Discuz软件经解压后产生的三个文件夹中的一个叫upload的成为网站的根目录.里面的内容可以在某些网站上在线阅读,如用好库编程网.也可以离线在本地阅读,如用VS.Php for Visual St ...

  5. 32位Windows 7系统下,显示4G内存3G可用的原因。

    由于32位操作系统只有那么多物理地址可用, 而硬盘.光驱.声卡,显卡,无线网卡等硬件设备也需要分配物理地址才可以使用, 所以系统会把一部分物理地址分配给它们, 剩下的物理地址分配给内存使用, 而剩下的 ...

  6. Android学习 之 ColorStateList按钮文字变色

    首先添加一个ColorStateList资源XML文件,XML文件保存在res/color/button_text.xml: <?xml version="1.0" enco ...

  7. UI基础

    知识点一:OC不允许直接修改对象的结构体属性的成员,允许直接修改对象的结构体属性 示例代码: CGRect tempFrame = self.frame; tempFrame.origin.x += ...

  8. 省市二级联动(原生JS)

    代码如下: <html> <head> <meta charset="UTF-8"> <title>省市二级联动</title ...

  9. 异常:System.Data.EvaluateException: 未找到列[District].

    异常:System.Data.EvaluateException: 未找到列[District]. 这里存在的问题不一定是说,数据源表没有该字段.此问题在于数据库字段包含空格字符.

  10. floyd算法小结

    floyd算法是被大家熟知的最短路算法之一,利用动态规划的思想,f[i][j]记录i到j之间的最短距离,时间复杂度为O(n^3),虽然时间复杂度较高,但是由于可以处理其他相似的问题,有着广泛的应用,这 ...