在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. 1、Linux驱动重要的数据结构

    1.struct file 这个结构体定义在  linuxsource/include/linux/fs.h 中第960行左右 具体成员如下: struct file { /* * fu_list b ...

  2. Codeforces 740C. Alyona and mex 思路模拟

    C. Alyona and mex time limit per test: 2 seconds memory limit per test: 256 megabytes input: standar ...

  3. windows下搭建scrapywindows 7 (64) + python 3.5 (64)

    说明 之前在 window 10 (64) + python 3.5 (64) 环境下就已经成功安装了 scrapy,当然也费了不少周折. 由于近日将系统换回 windows 7 (64),再安装 s ...

  4. rem字体响应式布局

    引用js,自动算字体大小,响应式布局 <script> var iScale = 1; iScale = iScale / window.devicePixelRatio; documen ...

  5. 禁止盗链,强制回登录页面web.config配置

    <system.web> <compilation debug="true" targetFramework="4.5" /> < ...

  6. JS 关闭页面事件

    主页面调用:<script src="<%=ResolveUrl("../JS/QuitJS.js") %>" type="text ...

  7. 不同包中继承关系访问protected内部类问题

    有两个包pack1和pack2,pack1中是父类,pack2中子类继承自pack1中的父类.这里主要探索一下子类访问父类中protected内部类的问题: 第一个类: package pack1; ...

  8. 对button或radiobutton制作样式

    制作样式在drawable中进行 (cheakbox)在样式中点击变换图片,<selector> <item android:state_checked="true&quo ...

  9. java 数据导入到exc ,并下载

    package com.lizi.admin.controller.platform.excel; import java.util.List;import java.util.Map; import ...

  10. ArcGIS Js/Flex等前端API(Query(StatisticDefinition)时)针对SDE的SHAPE.AREA/SHAPE.LEN知道查询无效,而对GDB的SHAPE_Area/SHAPE_Length有效探索。

    FIeld 'SHAPE.AREA' and 'SHAPE.LEN' of SDE For Oracle,Field 'SHAPE_Area' and 'SHAPE_Length' of gdb(ge ...