redhat 7.3安装mysql【服务器不能联网】遇到Glibc.so.6(LIBC_2.14)(64bit) is needed by

柴米油盐酱醋0 2018-05-25 01:23:56
服务器系统:REDHAT7.3 已卸载MARIB那个数据库
在MYSQL官网只能找到RPM方式安装的文件
选择如下:

Select Version:
5.7.22
Select Operating System:
REDHAT /ORACLE LINUX
Select OS Version:
x86 64-bit

下载
RPM Bundle 570.3M

按照教程安装,先解压---安装

[root@xxxxxxxxxxxxxx]# rpm -ivh mysql-community-common-5.7.22-1.el7.x86_64.rpm
warning: mysql-community-common-5.7.22-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... ################################# [100%]
package mysql-community-common-5.7.22-1.el7.x86_64 is intended for a different architecture

[root@xxxxxxxxxxxx]# rpm -ivh mysql-community-libs-5.7.22-1.el7.x86_64.rpm
warning: mysql-community-libs-5.7.22-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
Glibc.so.6(LIBC_2.14)(64bit) is needed by mysql-community-libs-5.7.22-1.el7.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by mysql-community-libs-5.7.22-1.el7.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by mysql-community-libs-5.7.22-1.el7.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by mysql-community-libs-5.7.22-1.el7.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by mysql-community-libs-5.7.22-1.el7.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by mysql-community-libs-5.7.22-1.el7.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by mysql-community-libs-5.7.22-1.el7.x86_64
mysql-community-common(x86-64) >= 5.7.9 is needed by mysql-community-libs-5.7.22-1.el7.x86_64
服务器不能联网,不知道怎么办了。曾尝试全部--NODEPS --FORCE强制安装
结果肯定是安装不成功。 之后FIND所有MYSQL目录 全部删除了
查看自己的GLIBC
[root@xxxxxxxxxxxx]# rpm -qa|grep glibc
glibc-2.17-157.el7.ppc64le
glibc-devel-2.17-157.el7.ppc64le
glibc-common-2.17-157.el7.ppc64le
glibc-headers-2.17-157.el7.ppc64le
是这个版本的

之后用Compressed TAR Archive 源码方式安装
(mysql-5.7.22-el7-x86_64.tar.gz) 下载的这个
前边解压缩之类的各种顺利,但最后
/usr/local/mysql/bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --lc_messages_dir=/usr/local/mysql/share --lc_messages=en_US
提示大概mysqld没有执行权限之类的错误。
...全文
2608 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

56,677

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧