安装mysql过程中的异常解决

[[email protected] ruanjian]# rpm -ivh mysql-community-common-5.7.10-1.el6.x86_64.rpm

warning: mysql-community-common-5.7.10-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY

Preparing...                ########################################### [100%]

file /usr/share/mysql/czech/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/danish/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/dutch/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/english/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/estonian/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/french/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/german/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/greek/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/italian/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/japanese/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/korean/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-community-common-5.7.10-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64

系统自带的有依赖包,需要强行卸载

rpm -e --nodeps mysql-libs-5.1.52-1.el6_0.1.x86_64

[[email protected] ruanjian]# rpm -ivh mysql-community-server-5.7.10-1.el6.x86_64.rpm

warning: mysql-community-server-5.7.10-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY

error: Failed dependencies:

/usr/bin/perl is needed by mysql-community-server-5.7.10-1.el6.x86_64

libaio.so.1()(64bit) is needed by mysql-community-server-5.7.10-1.el6.x86_64

libaio.so.1(LIBAIO_0.1)(64bit) is needed by mysql-community-server-5.7.10-1.el6.x86_64

libaio.so.1(LIBAIO_0.4)(64bit) is needed by mysql-community-server-5.7.10-1.el6.x86_64

libnuma.so.1()(64bit) is needed by mysql-community-server-5.7.10-1.el6.x86_64

libnuma.so.1(libnuma_1.1)(64bit) is needed by mysql-community-server-5.7.10-1.el6.x86_64

libnuma.so.1(libnuma_1.2)(64bit) is needed by mysql-community-server-5.7.10-1.el6.x86_64

perl(File::Path) is needed by mysql-community-server-5.7.10-1.el6.x86_64

perl(Getopt::Long) is needed by mysql-community-server-5.7.10-1.el6.x86_64

perl(POSIX) is needed by mysql-community-server-5.7.10-1.el6.x86_64

perl(strict) is needed by mysql-community-server-5.7.10-1.el6.x86_64

缺少依赖包,libaio和libnuma
可以从系统镜像中找到
libaio-0.3.107-10.el6.x86_64.rpm 
numactl-2.0.7-8.el6.x86_64.rpm

perl、perl-libs、perl-Module-Pluggable、perl-Pod-Escapes、perl-Pod-Simple、perl-version
建议使用yum方式,免得缺少依赖
用yum方式安装libnuma

yum install numactl -y

yum install libaio -y

yum install perl -y

时间: 2024-08-05 07:20:43

安装mysql过程中的异常解决的相关文章

树莓派raspberry Pi 3B+系统中安装mysql过程中不提示输入密码,安装完后如何设置密码

树莓派raspberry Pi 3B+安装mysql未提示输入密码,安装后修改mysql密码默认密码 使用mysql -uroot -p 命令连接mysql时,报错 [email protected]:/ $ mysql -uroot -p Enter password: ERROR 1698 (28000): Access denied for user 'root'@'localhost' 按照网上的说法, 1.进入到etc/mysql 目录下,查看debian.cnf文件,使用默认的用户名

解决安装AutoCAD2006过程中遇到的问题

问题: 当我们在安装CAD过程中,任何系统(Windows7.Windows2003.WindowsXP均适用)有时候会出现“CAD 出现致命错误 UNABLE TO LOAD ACDB RESOURCR FILE”和“ 无法启动此程序,因为计算机中丢失ac1st16.dll.acdb16.dll.acge16.dll”的问题. 解答: 这是因为AutoCAD在使用acad.msi安装时没有将文件拷贝至对应目录. 解决: 1.修改系统变量中的Path变量的值包含如下的路径名:“C:\Progra

Microsoft Office Enterprise 2007 在安装过程中出错的解决方法

今天笔者在使用PowerPoint 2007打开一个ppt的内嵌的excel表格时报如下错误: 无法找到 服务器应用程序.源文件.和项目,或返回的未知错误.请重新安装服务程序 然后就先把ppt文件发给同事.同事能在自己的电脑上打开ppt文件中内嵌的excel,于是判定很可能是笔者office软件的问题. 因不想在此事上花过多的时间研究,于是准备重新安装Microsoft Office 2007,但在安装的过程中进度条快完的时候又报如下错误: Microsoft Office Enterprise

安装系统过程中分区表(MBR)丢失或损坏

操作系统能识别出硬盘中的各个不同的分区,是靠硬盘分区表(MBR)来识别的.硬盘分区表中记录了各个分区的位置和大小以及类型等信息,如果这个分区表破坏了,那么这块硬盘里面的分区就会丢失,系统是无法在浏览器里面列出各个盘符数据的. 明白了分区表的功能后,下面针对我遇到的两种情况谈谈分区表那些事儿. 遭遇一 :安装系统后电脑黑屏,无任何提示. 记得暑假回家那五天,我家的那台破台式机电脑嗡嗡作响,简直让我无法忍受,于是就开始了对它进行关爱.打开主机检查声源,最后确定是CPU风扇和显卡风扇尘土过多的缘故.经

安装Exchange过程中如果提示需要重启服务器

安装Exchange服务器或者更新Exchange服务器补丁时,提示"上一下更新后未重启服务器".有时候即使重启服务器了再次安装时仍然会提示"服务器需要重启".这种情况可按以下方法解决: Windows系统判定服务器是否是需要重启是通过两个注册表键值来判定: 1).HKEY_LOCAL_MACHINE\SoftWare\Microsoft\Updates\UpdateExVolatile,是否存在UpdateExVolatile,或者存在该键值不为0. 2).HKE

安装PSU过程中遇到了问题

[[email protected] 18031668]$ ls 17478514  18031668  p6880880_112000_Linux-x86-64.zip  patchmd.xml  README.html  README.txt [[email protected] 18031668]$ opatch apply Oracle Interim Patch Installer version 11.2.0.3.6 Copyright (c) 2013, Oracle Corpor

CAS SSO:汇集配置过程中的错误解决方法

本教程为gevin.me原创文章,转载请注明: CAS SSO:配置过程中的错误解决方法 | Gevin’s Blog 本文将收集在配置CAS SSO遇到的所有错误,希望对大家有帮助,也方便下次搭建的时候可以参考! 一.java.lang.exception connector attribute sslcertificatefile must be defined when using ssl with apr Tomcat启动报如上错误,只需要将conf\server.xml里面的以下内容注

CentOS6.8下通过npm升级安装MySQL出现迷之错误解决过程

在老笔记本上安装了CentOS 6.8后使用默认的源安装MySQL后发现版本是5.1.*,版本太老卸载之然后在MySQL官网下载了社区版的npm添加安装,然后启动的时候提示Fail,并且使用 mysql -uroot连接时出现mysql.sock文件问题. 在网上搜寻了各种方案来尝试解决都没有成功,有说添加权限的,有说删除ib*文件的,都不行,本来要放弃的了,晚上回寝室后看到室友在学Android有个Bug一直调试不过,我看了后让他打开调试器并运行,发现了一个报错,定位了问题,然后惊讶于他不用调

老旧电脑笔记本安装XP过程中突然报错黑屏关机无法安装的解决办法

由于老旧电脑或笔记本年限已到,在安装XP系统过程中会由于显卡没有驱动而无法正常工作,VGA工作模式会将所有运行压力转移到CPU,此时也就是为什么我们在安装过程中风扇声音突然变大(CPU温度快速升高),老旧电脑由于主板CPU等电子元件存在老化问题,特别是电阻元件,温度一旦上升,其阻值参数将发生巨大变化,在达到某种条件时,要么CPU运行出错(此为报错原因),要么主板自我保护直接关机(此为突然黑屏关机原因). 理清楚上面的问题原因,解决办法如下: 1. 清理电脑硬件灰尘,排除硬件问题,同时确保内存,硬