免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3409 | 回复: 5
打印 上一主题 下一主题

rhel安装MySQL的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-11-17 00:04 |只看该作者 |倒序浏览
我在rhel上安装MySQL时遇到下面的问题,

[root@RHEL6 ~]# yum -y install MySQL*
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package MySQL-python.i686 0:1.2.3-0.3.c1.1.el6 will be installed
--> Processing Dependency: libmysqlclient_r.so.16 for package: MySQL-python-1.2.3-0.3.c1.1.el6.i686
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16) for package: MySQL-python-1.2.3-0.3.c1.1.el6.i686
--> Running transaction check
---> Package mysql-libs.i686 0:5.1.52-1.el6_0.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================
Package                 Arch            Version                          Repository              Size
=======================================================================================================
Installing:
MySQL-python            i686            1.2.3-0.3.c1.1.el6               rhel-source             85 k
Installing for dependencies:
mysql-libs              i686            5.1.52-1.el6_0.1                 rhel-source            1.2 M

Transaction Summary
=======================================================================================================
Install       2 Package(s)

Total download size: 1.3 M
Installed size: 4.2 M
Downloading Packages:
-------------------------------------------------------------------------------------------------------
Total                                                                   12 MB/s | 1.3 MB     00:00     
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/share/mysql/charsets/README from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/armscii8.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/cp1256.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/cp1257.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/cp850.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/cp852.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/cp866.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/dec8.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/geostd8.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/greek.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/hebrew.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/hp8.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/keybcs2.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/koi8r.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/koi8u.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/latin1.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/latin2.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/latin5.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/latin7.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/macce.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/macroman.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/charsets/swe7.xml from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.52-1.el6_0.1.i686 conflicts with file from package MySQL-server-community-5.1.53-1.rhel5.i386

Error Summary
-------------


·················································································分割线·······························································································


我在网上看过不少解决方案,比较多使用的是


yum -y remove mysql*


然后再安装。。。。

但是这个我认了,不通,不知何解,请问有没有朋友也有我这种问题,可以分享下么??

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52戌狗
日期:2013-12-27 15:08:11
2 [报告]
发表于 2011-11-17 09:29 |只看该作者
yum -y install MySQL*
干嘛用匹配
想安装什么,具体安装什么

论坛徽章:
2
摩羯座
日期:2014-05-29 17:38:40数据库技术版块每日发帖之星
日期:2016-08-05 06:20:00
3 [报告]
发表于 2011-11-17 11:50 |只看该作者
下个rpm包自己安装吧,很简单的,yum安装比较全

论坛徽章:
0
4 [报告]
发表于 2011-11-17 13:33 |只看该作者
个人觉得还是整个源码包吧,这样好

论坛徽章:
0
5 [报告]
发表于 2011-11-17 15:13 |只看该作者
机器上已经安装了另外一个版本的MySQL

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
6 [报告]
发表于 2011-11-17 18:02 |只看该作者
楼主在6上安装过5上的mysql吧,先删除再安装
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP