安装Mysql时出现的错误

回复 收藏
按照文档一步步来的,到了这一步出现这样的报错,前面 chown -R mysql:mysql /data/mysql
完成后,ls -l 查看属主属组时是这样的:
drwxr-x---.  4 503 users  4096 Oct  7  2009 data
到了运行/mysql_install_db的时候就这样了

[root@localhost mysql]# ./scripts/mysql_install_db --user=mysql --datadir=/data/mysql
./scripts/mysql_install_db: ./bin/my_print_defaults: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Neither host 'localhost.localdomain' nor 'localhost' could be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
2015-12-08 16:06 举报
已邀请:
0

陈森林

赞同来自:

我也有很多错误 现在还在弄。
0

定海偶然

赞同来自:

yum install glibc.i686
0

阿铭 管理员

赞同来自:

版本不合适。  你下载的mysql是32位,但你的系统是64位,或者mysql是64位,但系统是32位。
0

无限期等待

赞同来自:

问题已解决~Mysql的版本问题!
0

心怡呆呆

赞同来自:

我刚刚也遇到了,这个问题,发现时在64位的系统上安装32位的mysql,这个比较尴尬,现在已经安装了64位的没有在出现这个问题

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: