12

Where is defined timeout of persistent connections? Is it possible to change it?

1

1 Answer 1

10

Check out the wait_timeout parameter for my.ini

4
  • i added wait_timeout=120 in my.cnf but still have same value as before (checked with select @@wait_timeout;)
    – user198003
    Feb 9, 2011 at 17:19
  • 8
    Also check interactive_timeout.
    – Mark Rose
    Feb 9, 2011 at 17:26
  • @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 B
    Feb 9, 2011 at 17:33
  • 1
    sure i restarted it. but it was necessary to add interactive_timeout option, as mark rose mention.
    – user198003
    Feb 9, 2011 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.