Where is defined timeout of persistent connections? Is it possible to change it?
1 Answer
Check out the wait_timeout
parameter for my.ini
-
i added wait_timeout=120 in my.cnf but still have same value as before (checked with select @@wait_timeout;) Feb 9, 2011 at 17:19
-
8
-
@user198003: did you restart mysql after changing the value? There may be multiple my.ini's on your system - make sure you're changing the right one.– Marc BFeb 9, 2011 at 17:33
-
1sure i restarted it. but it was necessary to add interactive_timeout option, as mark rose mention. Feb 9, 2011 at 19:24