CentOS7安装MySQL冲突和问题解决小结
来源:互联网 发布:ubuntu server 中文 编辑:程序博客网 时间:2024/04/28 06:03
转自:http://blog.csdn.net/typa01_kk/article/details/49057073
Preparing... ################################# [100%]
file /usr/share/mysql/charsets/README from install of MySQL-server-5.6.27-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6.27-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.6.27-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64 file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.6.27-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64 file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.6.27-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64
file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.6.27-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64
……………………
warning: MySQL-server-5.5.46-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
Preparing... ################################# [100%]
Updating / installing...
1:MySQL-server-5.6.27-1.el6 ################################# [100%]
warning: user mysql does not exist - using root
warning: group mysql does not exist - using root
FATAL ERROR: please install the following Perl modules before executing /usr/bin/mysql_install_db:
Data::Dumper
Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).
5.下载完之后,安装三个rpm软件包。
[root@linuxidc tools]# rpm -ivh MySQL-server-5.6.21-1.rhel5.x86_64.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.6.21-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.6.21-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.6.21-1.rhel5.x86_64
安装MySQL-server报错,原因是没有安装libaio,系统缺少libaio.so此软件包,下边yum安装一下libaio.so软件包。
[root@linuxidc tools]# yum install -y libaio
[root@linuxidc tools]# rpm -ivh MySQL-server-5.6.21-1.rhel5.x86_64.rpm
[root@linuxidc tools]# rpm -ivh MySQL-client-5.6.21-1.rhel5.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-client ########################################### [100%]
[root@linuxidc tools]# rpm -ivh MySQL-devel-5.6.21-1.rhel5.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-devel ########################################### [100%]
3.安装mysql服务端:
[root@mysqlmaster mysqlinstall]# rpm -ivh MySQL-server-5.6.28-1.el6.x86_64.rpm
warning: MySQL-server-5.6.28-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
libnuma.so.1()(64bit) is needed by MySQL-server-5.6.28-1.el6.x86_64
libnuma.so.1(libnuma_1.1)(64bit) is needed by MySQL-server-5.6.28-1.el6.x86_64
libnuma.so.1(libnuma_1.2)(64bit) is needed by MySQL-server-5.6.28-1.el6.x86_64
缺失依赖包
[root@mysqlmaster mysqlinstall]# yum install numactl
4.
Linux CenterOs 64位中安装 MySQL-server-5.5.25a-1.rhel5.x86_64.rpm 出现以下错误
[root@localhost upload]# rpm -ivh MySQL-server-5.5.25a-1.rhel5.x86_64.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64
从以上错误信息可以看出是因为缺少库libaio,所以需要安装libaio
安装libaio-0.3.107-10.el6.x86_64.rpm
下载地址:
http://mirror.centos.org/centos/6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm
安装完成后,即可成功安装MySQL-server-5.5.25a-1.rhel5.x86_64.rpm
- CentOS7安装MySQL冲突和问题解决小结
- CentOS7安装MySQL冲突和问题解决小结
- centos7.0 安装mysql包冲突,卸载mysql依旧冲突
- centos7安装svn和mysql
- centos7安装mysql和mysql-connector-c++
- centos7安装mysql和mysql-connector-c++
- centos7下安装MySQL安装和配置
- Apusic5.1安装过程和JSF冲突问题解决
- phpstudy mysql数据库冲突问题解决
- ubuntu14和centos7安装配置mysql
- centos7 mysql数据库安装和配置
- centos7 mysql数据库安装和配置
- centos7 mysql数据库安装和配置
- centos7 mysql数据库安装和配置
- centos7 mysql数据库安装和配置
- centos7 mysql数据库安装和配置
- centOS7下的MYSQL安装和配置
- centos7 mysql数据库安装和配置
- gedit打开文件出错
- C 堆和栈的区别
- Problem-2053 Switch Game
- 如何打造 茄子快传 这样一款文件传输应用
- Poj 1011-Sticks
- CentOS7安装MySQL冲突和问题解决小结
- 使用Httpie调试ElasticSearch环境搭建及简单测试(图文详解)
- serialVersionUID的作用
- 51nod 1315 合法整数集(位运算)
- FireStart教程:基于SharePoint的出差报销流程一
- linux下redis安装遇到的问题记录
- iftop -m 10m
- Unity3D中DonotDestroyOnLoad()需要注意的方面
- 最大的矩形