FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

mysql_connect give error ?? why ??

 


sambhav
Hi..

I am have site which is not on FRIHOST.. but other server.. I get the following error in the error log.

PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost connection to MySQL server at 'sending authentication information', system error: 32

This comes in a wordpress plugin wordspew.

I added a code

if($conn==NULL)
again mysql_connect()

this helped as no other error come related to other sql operations.. but can anyone help me with this ??

This error is not generated regularly but 5-7 times in days.. and is generated very randomly..
mathiaus
Which server is it trying to connect to?
sambhav
mysql server on localhost.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.