来源: http://blog.csdn.net/kunshan_shenbin/article/details/7612834
[root@localhost ~]# rpm -ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/greek.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/hebrew.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server-5.5.24-1.linux2.6.x86_64 conflicts with file from package mysql-libs-5.1.61-1.el6_2.1.x86_64
原因是系统已经安装了其他版本的mysql-libs包导致不兼容。
[root@localhost ~]# yum list | grep mysql
mysql-libs.x86_64 5.1.61-1.el6_2.1 @updates
apr-util-mysql.x86_64 1.3.9-3.el6_0.1 base
bacula-director-mysql.x86_64 5.0.0-9.el6 base
bacula-storage-mysql.x86_64 5.0.0-9.el6 base
dovecot-mysql.x86_64 1:2.0.9-2.el6_1.1 base
freeradius-mysql.x86_64 2.1.10-5.el6 base
libdbi-dbd-mysql.x86_64 0.8.3-5.1.el6 base
mod_auth_mysql.x86_64 1:3.0.0-11.el6_0.1 base
mysql.x86_64 5.1.61-1.el6_2.1 updates
mysql-bench.x86_64 5.1.61-1.el6_2.1 updates
mysql-connector-java.x86_64 1:5.1.12-2.el6 base
mysql-connector-odbc.x86_64 5.1.5r1144-7.el6 base
mysql-devel.i686 5.1.61-1.el6_2.1 updates
mysql-devel.x86_64 5.1.61-1.el6_2.1 updates
mysql-embedded.i686 5.1.61-1.el6_2.1 updates
mysql-embedded.x86_64 5.1.61-1.el6_2.1 updates
mysql-embedded-devel.i686 5.1.61-1.el6_2.1 updates
mysql-embedded-devel.x86_64 5.1.61-1.el6_2.1 updates
mysql-libs.i686 5.1.61-1.el6_2.1 updates
mysql-server.x86_64 5.1.61-1.el6_2.1 updates
mysql-test.x86_64 5.1.61-1.el6_2.1 updates
php-mysql.x86_64 5.3.3-3.el6_2.8 updates
qt-mysql.i686 1:4.6.2-20.el6 base
qt-mysql.x86_64 1:4.6.2-20.el6 base
rsyslog-mysql.x86_64 4.6.2-12.el6 base
删除mysql-libs
[root@localhost ~]# yum remove mysql-libs
......
[root@localhost ~]# rpm -ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
相关推荐
在Linux上,特别是基于RPM的发行版,如CentOS、Fedora和Red Hat Enterprise Linux,使用RPM包是常见的安装软件方法。 标题中的“Linux下安装Mysql”意味着我们将关注如何在Linux操作系统上安装MySQL数据库服务。这...
在Linux系统中安装MySQL是一项常见的任务,特别...以上就是Linux上安装MySQL的兼容性解决方法、查看安装路径以及完全删除MySQL的详细步骤。理解并掌握这些知识,将有助于你在Linux环境中更有效地管理MySQL数据库系统。
### Linux下安装MySQL数据库知识点详解 #### 一、前言 在Linux环境下安装MySQL数据库是一项常见但又较为复杂的任务,本文将详细介绍整个安装过程及注意事项,帮助读者顺利地完成安装。 #### 二、安装准备 1. **...
以上步骤和命令涵盖了MySQL在Linux下的安装及基本的用户和权限管理。需要注意的是,在实际操作中要确保命令正确执行,并处理可能出现的错误提示。同时,出于安全考虑,应该定期更换数据库的登录密码,并严格控制对...
### Linux上安装MySQL 5.6 的详细步骤与知识点 #### 一、判断是否已安装 MySQL 在开始安装MySQL 5.6之前,首先要检查系统中是否已经安装了MySQL或其他兼容版本,例如MariaDB。 ##### 查看是否已安装MySQL ```bash...
在Linux环境下安装MySQL 5.7.21的详细步骤如下: 1. **安装包准备**:首先,你需要从MySQL的官方网站或者可靠的第三方源下载安装包。在这个例子中,使用的是`mysql-5.7.21-linux-glibc2.12-x86_64.tar.gz`,你可以...
### Linux环境下MySQL 5.1安装步骤详解 #### 一、前言 随着Linux操作系统的广泛应用,越来越多的应用程序选择在Linux环境下部署。其中,MySQL作为一款高性能的关系型数据库管理系统,在Linux环境下的部署变得尤为...
本篇文章将详细介绍如何通过 rpm 包的方式在 Linux(具体为 Red Hat Enterprise Linux 6.5 版本)环境中安装 MySQL,并给出具体的配置与常见问题解决方法。 #### 二、准备工作 ##### 第一步:下载 RPM 包 - **下载...
### Linux下MySQL安装手册知识点详解 #### 一、MySQL安装准备与环境配置 在Linux环境下进行MySQL的安装,首先需要确保系统中存在必要的基础环境。本文档将引导您完成整个安装流程,包括编译安装MySQL及其相关的...
总的来说,解决Linux下MySQL版本冲突的过程包括查找和卸载旧版本、清理残留文件、安装新版本服务器和客户端,最后验证服务是否正常启动。这是一个基础的升级流程,实际操作时还需注意兼容性、数据迁移和安全设置等...
在描述中提到的"mysql在linux下安装包",通常指的是通过这些包管理器来安装MySQL的软件包。 在给定的压缩包文件列表中,我们可以看到以下文件: 1. MySQL-embedded-5.6.22-1.el6.i686.rpm:这是一个嵌入式版本的...
总的来说,Linux下安装MySQL涉及的关键步骤包括检查并卸载现有数据库服务、安装新的MySQL服务、启动服务以及设置root用户密码。这些步骤对于初次接触Linux服务器搭建的用户来说非常重要,也是确保数据库服务正常运行...
首先,我们需要确保系统已经满足了安装MySQL 5.7的基本要求,包括兼容的操作系统版本(如CentOS 7或RHEL 7)以及合适的硬件配置。对于服务器来说,足够的内存和磁盘空间是必不可少的。 离线安装通常涉及到下载所需...
本篇文章将详细讲解“mysql-connector-java”在Linux下作为MySQL的JDBC驱动Jar包的相关知识点。 1. JDBC简介: JDBC是Java平台上的一个标准接口,它允许Java应用程序通过API与各种类型的数据库进行通信。JDBC提供...
本指南将详细介绍如何在RHEL5(Red Hat Enterprise Linux 5)系统上安装MySQL 5.5 Server。 首先,你需要了解RPM(Red Hat Package Manager)包,它是Linux发行版Red Hat及其兼容系统中的软件管理工具。在给定的...
在Linux环境下,构建和安装MySQL 5.7.18的源码以及Connector/C++ 1.1.8是一项技术性较强的任务。首先,我们需要理解MySQL数据库系统的基础,它是世界上最流行的开源关系型数据库管理系统,而Connector/C++是MySQL...
MySQL 5.0是MySQL数据库管理系统的一个早期版本,它在Linux操作系统上有着广泛的应用。MySQL是一种关系型数据库管理系统,以其高效、稳定和开源的特点而受到开发者们的青睐。在这个"mysql5.0 linux安装文件"中,包含...
### Linux上安装MySQL知识点详解 #### 一、MySQL简介与Linux环境下的意义 MySQL是一种广泛使用的开源关系型数据库管理系统(RDBMS),因其高效性、稳定性和可扩展性而在Web应用开发中占据重要地位。在Linux操作系统...
### Linux系统下MySQL安装命令详解 #### 一、前言 在Linux环境下部署MySQL数据库是一项常见且重要的任务。本文将详细介绍在Linux系统下安装MySQL的具体步骤及每一步所需的命令,帮助读者顺利完成MySQL的安装与配置...
### Linux环境下MySQL安装与管理详解 #### 一、前言 在Linux环境下部署MySQL数据库是一项常见且重要的任务。本文将详细介绍如何在Linux环境中安装MySQL,包括上传安装包、解压安装包、检查环境、安装RPM包等步骤,...