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 Mar 2005 Neharkar,Mukund wrote :
>Hi;
>
>I'm using Apache 2.0 + MySQL 4.1 + PHP 4.3.10 for a site. The
>database server and web server are on different machines. I get this
>Error "lost connection DURING query" when I try to access some of the web
>Pages. I have been through this thread.
>
>http://lists.mysql.com/mysql/181322
>
>I tried the some of the solutions they won't help. Do I have to add the
>database server also the /etc/host of the web server?. So that reverse DNS
>lookup works both ways. I don't have super user access to the web server.
>
>
>Regards,
>Mukund Neharkar.
>
>
>--
>MySQL General Mailing List
>For list archives: http://lists.mysql.com/mysql
>To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
>


Reply via email to