问题描述
当我在我的浏览器上写http; // localhost时......它出现了对无效主机名的错误请求...只是这4个字......我不知道wath是错误..
所以我把mysqladmin -h''localhost''版本写入我的cmm提示符
它说错误未知的mysql服务器主机''localhost< 11004> ;
通过telnet''localhost''3306检查mysqld是否在端口上运行..
怎么做... ???
when i write http;//localhost on my browser.. it come out bad request on invalid hostname... just these 4 words... i have no idea of wath is the error..
so i write mysqladmin -h ''localhost'' version into my cmm prompt
it said error "unknown mysql server host'' localhost <11004>
check mysqld is running on the port by doing telnet'' localhost'' 3306..
how to do that...???
推荐答案
尝试http:// localhost而不是http; // localhost
try http://localhost instead of http;//localhost
对不起...哈哈..错误..那应该是 http:// localhost ..但为什么它仍然不能..我可以卸载mysql 4.1 ...而留下其余的ODBC和mysq-gui5.0 .. ??重新安装mysql 4.1后,它们仍能运行吗?服务器在其数据库中有数据..我认为这里的一个混蛋改变了我的服务器IP地址..
sorry ...hahaa.. mistake.. that should be http://localhost.. but why it still cannot.. can i just uninstall the mysql 4.1... while leave the rest ODBC and mysq-gui5.0.. ?? can they still functioning after i reinstall mysql 4.1?? the server has data in its database.. i think one of the bastard here has changed my server IP address..
卸载应该是最后一个选项。您是否尝试使用端口号替换了portNo的http:// localhost:portNo,
?
Uninstall should really be the last option. Did you try http://localhost:portNo,
with portNo replaced by your port number?
这篇关于无效主机名上的错误请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!