- 标签
- MySQL
MySQL 持锁连接已经 Sleep,怎么找到当时的 SQL
MySQL 更新在等行锁,持锁连接却显示 Sleep。用连接 ID 找到 Performance Schema 线程,再查历史语句和锁事件。
Spring Boot 整合 MyBatis
最后更新:2026-09-11 适用场景:Spring Boot 整合 MyBatis、MySQL、Mapper 接口、Mapper XML、@MapperScan、mapper-locations、Invalid bound statement Spring Boot 整合 MyBatis,真正需
Spring Boot 连接 MySQL
最后更新:2026-08-20 适用场景:Spring Boot 连接 MySQL、spring.datasource、MySQL 驱动、JDBC URL、数据库连接失败、Communications link failure、Access denied for user Spring Boot 连