Hi ,
You can try one simple thing. Wherever in ur code u try to run mysql_query(),
check the last error value using mysql_errno(). If the value is 2013, then
connect to the mysql server again and try running mysql_query again.
I hope this solution works for u.
Regards,
Sapna
On Fri, 18 Ma
I got the same error when my web server and mysql server were separate. And the
error was caused bcoz of too many unauthenticated users. The reason behind it
was that the reverse dns lookup for the webserver was failing. but as soon as i
added the web server to /etc/hosts, the error went off.
H