SET GLOBAL innodb_lock_wait_timeout = 10;
SELECT @@innodb_lock_wait_timeout;
SET SESSION innodb_lock_wait_timeout = 10;
SELECT @@innodb_lock_wait_timeout;
SHOW VARIABLES WHERE Variable_name REGEXP 'lock_wait';
Reference:
http://stackoverflow.com/questions/28735473/innodb-lock-wait-timeout-increase-timeout
No comments:
Post a Comment