MySQL Forums
Forum List  »  Knowledge Base

Re: Connectivity issue
Posted by: Paul Svirin
Date: October 08, 2009 05:11PM

If you are connecting from PHP script add strings like these before the main query:

mysql_query ("SET @@local.wait_timeout=900;");
mysql_query ("SET @@wait_timeout=900;");

mysql_query ("SET @@local.interactive_timeout=900;");
mysql_query ("SET @@interactive_timeout=900;");


Hope that helps.

---------
StarWind Software developer ( http://www.starwindsoftware.com )

Options: ReplyQuote


Subject
Views
Written By
Posted
2853
October 06, 2009 04:55AM
1825
October 07, 2009 06:49AM
1611
October 08, 2009 11:42PM
Re: Connectivity issue
1854
October 08, 2009 05:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.