※ 引述《[email protected] (大森林)》之銘言:
: 為何連接mysql時,會出現下列問題呢?
: Warning: Host 'localhost.adsldns.org' is not allowed to
: connect to this MySQL server
: 是php沒灌好,還是mysql的問題,
: 還有,POST方法也不能用,感謝各位高手的回答。
看一下你的/etc/hosts 裡面
127.0.0.1後面是不是有 localhost.adsldns.org
改成只有localhost 看看
這應該是mysql的user設定的問題
mysql的user auth是 id@host eg. [email protected]
askquestion@localhost
如果設定的時候沒有指定host 就是指localhost的使用者
--
應該沒有錯吧 ^^;
請指教~~
--
: 為何連接mysql時,會出現下列問題呢?
: Warning: Host 'localhost.adsldns.org' is not allowed to
: connect to this MySQL server
: 是php沒灌好,還是mysql的問題,
: 還有,POST方法也不能用,感謝各位高手的回答。
看一下你的/etc/hosts 裡面
127.0.0.1後面是不是有 localhost.adsldns.org
改成只有localhost 看看
這應該是mysql的user設定的問題
mysql的user auth是 id@host eg. [email protected]
askquestion@localhost
如果設定的時候沒有指定host 就是指localhost的使用者
--
應該沒有錯吧 ^^;
請指教~~
--
All Comments