免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4541 | 回复: 1
打印 上一主题 下一主题

如何解决 ./bin/my_print_defaults: cannot execute binary file [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-30 16:15 |只看该作者 |倒序浏览
我在运行 mysql_install_db 的时候,出现下面的错误,该怎么解决啊?

[root@host2 mysql]# scripts/mysql_install_db --user=mysql
scripts/mysql_install_db: line 86: ./bin/my_print_defaults: cannot execute binary file
Neither host \'host2.cybernaut\' 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

论坛徽章:
0
2 [报告]
发表于 2007-07-31 10:21 |只看该作者
你可以cd scripts
然后输入
./mysql_install_db --user=mysql
或者直接进入图形界面,运行这个脚本..但是一定要有mysql帐号
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP