I have written an application that establishes a connection to a remote
MySQL database, and accepts queries from clients.  If the server does not
receive a query in eight hours (as set by wait_timeout), then the
connection to MySQL disappears and all my queries fail.

How can I keep the connection alive?  ... (Obviously sending a connect;
won't work because the server is gone when I'll need it..  Should I just
send a connect; every so often to make sure the server status alive?)

Thanks for the advice..

------------------------------------------------------>
 Elliot L. Tobin   - UD/CS '02  <[EMAIL PROTECTED]>
 Univ. of Delaware - Computer Science, Economics
 ----------------------------------------------------->





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to