MySQL 事務沒有提交致使 鎖等待 Lock wait timeout exceeded

一、事務未提交 在使用spring test 作單元測試時,debug致使事務沒有提交,Lock wait timeout exceeded; 定位到該表,直接navicat 上insert 該表,Lock wait timeout exceeded; 確認是該表的事務沒有提交,鎖被佔用沒釋放: select * from information_schema.innodb_trx; 查看到堵塞的
相關文章
相關標籤/搜索