开发者

PHP MySQL problem

开发者 https://www.devze.com 2023-01-29 08:31 出处:网络
Whenever I try to run a php script on my website hosted by hostgator, I get t开发者_运维问答his error:

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

精彩评论

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

关注公众号