centos安装mysql时,执行scripts/mysql_install_db --user=mysql报错

回复 收藏
[root@li816-65 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 'li816-65' 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

原因:发现mysql包是32位的,而Cent OS系统是64 位。
2015-05-24 08:31 举报
已邀请:
0

qidi2015

赞同来自:

晕 ,你怎么有在这个板块发帖的权限,  我还以为是铭哥发了明天的课程了呢
0

一介书生

赞同来自:

发到这里也是醉了
0

zzfeng2012

赞同来自:

我以为 又复习mysql呢
0

lyhabc

赞同来自:

把他移出去吧
0

阿铭 管理员

赞同来自:

权限漏洞呀  我得好好看看

回复帖子,请先登录注册

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