首页 / MYSQL / 安装mysql过程中的异常解决
安装mysql过程中的异常解决
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了安装mysql过程中的异常解决,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含4364字,纯文字阅读大概需要7分钟。
内容图文
![安装mysql过程中的异常解决](/upload/InfoBanner/zyjiaocheng/466/08346172662b4552bde5202c2292e19e.jpg)
[root@cdh1 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
[root@cdh1 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
安装mysql过程中的异常解决
标签:
本文系统来源:http://www.cnblogs.com/meng-bigdata/p/5620438.html
内容总结
以上是互联网集市为您收集整理的安装mysql过程中的异常解决全部内容,希望文章能够帮你解决安装mysql过程中的异常解决所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。