Lock wait timeout exceeded; try restarting transaction是锁等待超时。是当前事务在等待其它事务释放锁资源造成的。
解决方法:
select * from information_schema.innodb_trx
kill threadId
Lock wait timeout exceeded; try restarting transaction是锁等待超时。是当前事务在等待其它事务释放锁资源造成的。
解决方法:
select * from information_schema.innodb_trx