MySQL Forums
Forum List  »  Performance

Re: Performance Issues - errno 12 on MySQL5.0.45/Windows Server 2003
Posted by: Rick James
Date: May 20, 2009 08:51AM

"On thread startup, the session wait_timeout value is initialized from the global wait_timeout value or from the global interactive_timeout value, depending on the type of client (as defined by the CLIENT_INTERACTIVE connect option to mysql_real_connect())."

Normally the commandline "mysql" is 'interactive', and a Perl script is not interactive. So if you are wondering about the timeout affecting your script, and you do this in mysql:
SHOW VARIABLES LIKE 'wait_timeout';
you don't get the value that affects your script.

http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_interactive_timeout
http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_wait_timeout

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Performance Issues - errno 12 on MySQL5.0.45/Windows Server 2003
2210
May 20, 2009 08:51AM


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.