在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. Quartz.net 定时调度CronTrigger时间配置格式说明

    1.   CronTrigger时间格式配置说明 CronTrigger配置格式: 格式: [秒] [分] [小时] [日] [月] [周] [年] 序号 说明 是否必填 允许填写的值 允许的通配符 ...

  2. ff

    public class MyListenerProcessor implements BeanPostProcessor { @Override public Object postProcessB ...

  3. ZOJ 3705 Applications 模拟

    #pragma comment(linker, "/STACK:1024000000,1024000000") #include<cstdio> #include< ...

  4. flask-admin众博客概述

    最近用flask admin(https://flask-admin.readthedocs.org/en/latest/)构建自动化发布平台,发现flask admin蛮强大的,基本上不需要自己写太 ...

  5. 长轮询(long polling)

    HTTP请求不是持续的连接,你请求一次,服务器响应一次,然后就完了.长轮训是一种利用HTTP模拟持续连接的技巧.具体来说,只要页面载入了,不管你需不需要服务器给你响应信息,你都会给服务器发一个Ajax ...

  6. EF支持mysq相关配置数码

    最近,项目考虑到安装部署方面:希望可以使用MySQL数据库,毕竟比较小巧.方便. 后来,自己通过测试发现EF可以支持mysql数据库,而且也可以通过codefirst模式进行开发:使用起来,跟sqls ...

  7. angularjs 分页精华代码

    //pageinfo $scope.pageSize=10;$scope.currentType={{ current_type }};$scope.currentPage={{ json_encod ...

  8. NSURLSession的基本使用

    一.简单说明 在iOS9.0之后,以前使用的NSURLConnection过期,苹果推荐使用NSURLSession来替换NSURLConnection完成网路请求相关操作. NSURLSession ...

  9. kiosk-mode,免密码登陆, sideload Windows Store apps 等

    MVVM带来的性能问题及其解决方案  MVVM 和语言性能提示:https://msdn.microsoft.com/zh-cn/library/windows/apps/xaml/mt628050. ...

  10. 发现的eval的一个小问题

    首先我们来看五段代码: 第一段代码: function test(){ eval('var a = 1;'); alert(a); } test(); 第二段代码: function test(){ ...