Answer the question
In order to leave comments, you need to log in
mysql_connect with timeout setting
I use mysql and php 5.3 Mysql
config says
wait_timeout=20
timeout_connect=20
But one of the scripts requires this value to be much larger. Is it possible to set it when calling mysql_connect from php.
As another option, I consider mysql_pconnect, but it is not yet clear how to close the session after the script ends.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question