MySQL Forums
Forum List  »  General

Re: Lock wait timeout exceeded; try restarting transaction
Posted by: Rick James
Date: September 17, 2013 07:26PM

http://dev.mysql.com/doc/refman/5.1/en/query-log.html

http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_general_log
says it is 'global' and 'dynamic', so you should be able to set it without restarting:
SET @@GLOBAL.general_log=ON;

The top of that page says "Yes" for option file, so
general_log=ON

Those apply to 5.1; if you are using a different version, switch to that page.

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.