解决锁表问题:Lock wait timeout exceeded; try restarting transaction

死锁
查询是否锁表
show OPEN TABLES where In_use > 0;


查询进程
show processlist;


查询到相对应的进程
kill   id;
 

猜你喜欢

转载自blog.csdn.net/gameovertryagain/article/details/80591134
今日推荐