unable to connect to database

Status
Not open for further replies.

apysan

New Member
Messages
15
Reaction score
0
Points
0
Sir,
I am unable to connect to my database. It gives me the following error:

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/apysan/public_html/login.php on line 2
Could not connect: Lost connection to MySQL server at 'reading initial communication packet',
system error: 111.

My details are as under : apysan.x10hosting.com
user apysan_apysan
password :********
database : apysan_database

Please help me.
 
Last edited by a moderator:

brinni1

New Member
Messages
145
Reaction score
1
Points
0
Your host should be "localhost"
 
Last edited:
Status
Not open for further replies.
Top