01 2022 档案
解决mysql锁表问题com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceede
摘要:1、查询是否锁表show open tables where in_use>0; 2、查询进程show processlist查询到相对应的进程,然后 kill id 3、查看正在锁的事务select * from information_schema.innodb_locks; 4、查看等待锁的事
阅读全文