设置MySQL事务锁超时时间 查看:SHOW GLOBAL VARIABLES LIKE ‘innodb_lock_wait_timeout’;设置:SET GLOBAL innodb_lock_wait_timeout=1500;