解决 MySQL 报错 Lock wait timeout exceeded: try restarting分析 MySQL 事务更新因锁等待超时报 1205 根因,提供通过 innodb_trx 定位长事务与 KILL 释放锁方案。MySQL · InnoDB · 行锁2026.11.10