开发者

PHP MySQL problem

Whenever I try to run a php script on my website hosted by hostgator, I get t开发者_运维问答his error:

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'pieboy13_(user name)' (1) in /home/pieboy13/public_html/quigley/WebContent/Scripts/register.php on line 6 Error: Could not connect to server. Error Unknown MySQL server host 'pieboy13_(user name)' (1)

Where (Username) is my username.

What could cause this?


You are triying to connect to your username! Check your configuration for server url and make sure it points to your mysql server.


Things that can cause this:

  1. You are using the wrong hostname for the mysql server.


Looks like you might have put your database or username into the server argument.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜