在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. PHP-redis中文文档介绍(转自http://www.jb51.net/article/33887.htm)

    Redis::__construct构造函数$redis = new Redis(); connect, open 链接redis服务参数host: string,服务地址port: int,端口号t ...

  2. Android ActionBar

    ActionBar 在android3.0中就加入了,但是android3.0适用于平板电脑的,在手机不能使用.android 4.0之后也开始有AndroidBar.所以说要想使用androidBa ...

  3. 用jQuery修改background图片平铺方式

    <html><head> <title>测试css修改</title></head><body> <img src=&qu ...

  4. Web程序的运行原理及流程(二)

    其实WEB服务器和WEB应用服务器这两个概念特别容易混淆  可以理解为装了不同软件(服务)的两台计算机(服务器)吧 先对两个概念做一个简单介绍 了解了基本的概念 我们再用两个典型的例子做一下比较(建立 ...

  5. sql server convert 日期

    ),) --2016/11 ),) --2016-11-03 17:46:47

  6. css+js定位到屏幕中间

    ex:让一个div始终显示在屏幕中间 一. css:#idName{position: absolute;z-index: 999;width: ?px;margin-top: ?px;}//此处的初 ...

  7. Three ways to set specific DeviceFamily XAML Views in UWP

    Three ways to set specific DeviceFamily XAML Views in UWP http://igrali.com/2015/08/02/three-ways-to ...

  8. 使用.NET读取exchange邮件

    公司有个第3方的系统,不能操作源码修改错误捕获,但是错误会发一个邮件出来,里面包含了主要的信息.于是想从邮件下手,提取需要的数据 开始考虑使用的是exchange service,主要参考http:/ ...

  9. bootstrap 模态框禁用空白处点击关闭

    bootstrap 3 模态框为信息编辑窗口,默认点击空白处会自动关闭,但是有的时候这个功能需要关闭,比如编辑信息,一不小心点击了空白处,那就要重新编辑了. bootstrap 3 模态框禁用空白处点 ...

  10. webpack配置

    1.初始化webpack npm install webpack -g   (全局安装) npm init   (初始化packge.json) npm install webpack --save- ...