--解决Lock wait timeout exceeded; try restarting transaction

--解决Lock wait timeout exceeded; try restarting transaction

select * from information_schema.innodb_trx; 

--pid是上面sql的trx_mysql_thread_id
kill pid

https://blog.csdn.net/wanderlustLee/article/details/79235005

猜你喜欢

转载自www.cnblogs.com/vanoraxnc/p/9777039.html
今日推荐