MySQL Forums
Forum List  »  Newbie

variable's new value keeps getting overridden by the default value after the new value's time period.
Posted by: Jim Clayson
Date: July 11, 2011 09:01AM

Hi,

I'm having a problem on MySQL5.1 where I try to set the value of a variable:

SET wait_timeout=5;

... the result is that the new value gets overridden to the default(28800) in the same number of seconds i.e. in this case 5.

If I set it to 10, it reverts to 28800 after 10 seconds.

Of course if I access the db within the 10 seconds, then the 10 seconds starts again.

Don't understand why it is reverting to the default each time.

Thanks for any help.
Jim

Options: ReplyQuote




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.