[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%]
相关推荐
在安装新版本MySQL之前,需要确保旧版本的Mariadb或其他MySQL版本已完全卸载,避免出现端口冲突等问题。 ```bash # 查找并列出已安装的RPM包 rpm -qa | grep mariadb # 卸载列出的包 rpm -e mariadb-server-5.5.44-...
本文将详细介绍 Mysql 的安装步骤,并解决可能出现的一些问题。 一、准备工具 在安装 Mysql 之前,需要准备以下工具: * Mysql 安装文件(如 mysql-installer-community-8.0.13.0.msi) * .net framework 4.5.2...
### MySQL安装过程中遇到“请...值得注意的是,在完成以上步骤后,再次尝试安装MySQL时,应该不会再出现类似问题。如果问题依然存在,建议检查是否有其他软件或服务与MySQL存在冲突。希望本指南能帮助您顺利解决问题。
当你尝试使用Navicat for MySQL登录MySQL服务器时,如果出现错误代码1045,这通常意味着你的MySQL root用户密码为空或不正确。解决方法如下: 1. **停止MySQL服务:** 使用命令`# /etc/init.d/mysql stop`停止服务...
在以上过程中,可能会出现一些技术问题,比如OCR扫描出的文字错误或漏识别。因此,需要仔细阅读并理解文档内容,确保安装配置过程的准确性。 总结来说,本文详细介绍了在Windows系统上安装MySQL的过程,包括下载...
此类问题通常表现为安装过程中出现错误提示,或者安装完成后无法正常启动MySQL服务,系统报错“ERROR:0 can not start service error:0”。下面将针对这一现象进行详细分析,并提供可能的解决方案。 #### 错误概述...
3. **卸载旧版本**:如果有旧版本的MySQL,应先彻底卸载并清理注册表及残留文件,避免新版本安装时出现冲突。 #### 三、安装步骤 1. **下载MySQL安装程序**:访问MySQL官方网站或通过可靠的第三方源下载MySQL的...
如果没有这个库,MySQL服务可能无法启动或者出现运行时错误。 4. **解决环境异常问题**:环境异常可能包括缺少系统库、不兼容的组件、未正确配置的环境变量等问题。这个压缩包可能包含了特定的修复工具或补丁,以...
- 若有任何一项不符合要求,需检查并修正错误后重新安装。 #### 三、注意事项 - **安全性**:确保下载的安装包来源可靠,并在安装前检查文件的完整性。 - **兼容性**:确认所选版本与操作系统兼容。 - **备份**:...
2. **选择安装类型**:出现安装界面后,可以看到一个“Install MySQL products”的按钮,点击该按钮进入下一步。 3. **接受许可协议**:阅读并同意MySQL的许可协议,通常界面中会有“I accept the license terms”...
### MySQL安装错误代码详解 #### 1016 错误:文件无法打开 当遇到“文件无法打开”错误(1016)时,这通常意味着MySQL在尝试访问某个文件时遇到了问题。可能的原因包括文件损坏、权限问题或者文件路径配置错误。...
* 在安装过程中,需要注意编译过程中的错误,出现错误需要查找原因,不能继续 MAKE。 * 安装完成后,需要检查服务是否启动成功,例如检查 Apache 和 MySQL 服务是否启动成功。 总结,文章介绍了 Linux 下 Apache+...
- 安装完成后,会出现配置向导的选项,强烈建议勾选“Configure the MySQL Server now”,以便进行后续的配置。 #### 六、MySQL配置向导 - **启动配置向导**:点击“Next”进入配置向导的初始界面。 - **选择配置...
MySQL 8.0是当前广泛使用的开源关系型数据库管理...每个步骤都需要细心操作,确保每个依赖库都已正确安装,以避免编译或运行时出现错误。这个过程虽然相对复杂,但能够让你自定义MySQL的配置,更好地适应你的系统环境。
MySQL安装教程资料旨在帮助用户顺利地安装和配置MySQL数据库系统,这是一个广泛应用于各种Web应用程序和服务器端的数据存储解决方案。...通过这份教程,你可以深入了解MySQL的安装流程,以及如何应对可能出现的挑战。
- **日志文件**:MySQL有错误日志和二进制日志,用于记录错误信息和数据更改,便于故障排查和数据恢复。 - **备份与恢复**:定期备份数据库是必要的,可以使用`mysqldump`工具生成SQL脚本或直接物理备份数据文件。...
### MySQL安装教程详解 #### 一、MySQL安装步骤 ##### 1. 解压MySQL安装包 - 下载MySQL安装文件`mysql-5.5.27-win32.zip`,双击解压缩该文件。 - 运行解压后的`setup.exe`程序。 ##### 2. 选择安装类型 - 在...