安装MySQL提示无法找到主机,怎么回事?

cnonline 2003-02-21 11:43:57
抓图在此
http://www.8885.net/uploadImages/200322111165991321.png

提示
Sorry, the host 'test' could not be looked up.
Please configure the 'hostname' command to return a correct hostname.

执行hostname命令显示
test

。初接触Linux,还望大侠指点迷津。
...全文
112 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
mathe 2003-02-21
  • 打赏
  • 举报
回复
try
ping test

if it fails, add
127.0.0.1 test
into /etc/hosts
cnonline 2003-02-21
  • 打赏
  • 举报
回复
thank u!

23,116

社区成员

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

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