在linux下安装mysql时 ./configure 出现的问题

mizhihua 2007-04-20 05:45:39
解压后
运行:
./configure --prefix=/usr/local/mysql5/mysql-max-5.0.22-liunx-ia64-icc-glibc23 --with-charset=utf-8

系统提示:

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

./scripts/mysql_install_db: line 1: ./bin/my_print_defaults: cannot execute binary file
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


这是什么原因造成的啊?
...全文
295 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
yangxiao_jiang 2007-04-20
  • 打赏
  • 举报
回复
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
上面已经说得很清楚了,你下载的是编译好的,不需要在configure 了。
直接就可以运行了。

23,116

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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