2023年11月18日 问题: spring boot + hikari + mysql Caused by: com.mysql.cj.exceptions.ConnectionIsClosedException: No operations allowed after connection closed. 1 Caused by: com.mysql.cj.exceptions.ConnectionIsClosedException: No operations allowed after connection closed. 解决: 可能管用 spring: datasource: hikari: maxLifetime: 600000 idleTimeout: 120000 minimumIdle: 1 maximumPoolSize: 3 keepaliveTime: 120000 12345678 spring: datasource: hikari: maxLifetime: 600000 idleTimeout: 120000 minimumIdle: 1 maximumPoolSize: 3 keepaliveTime: 120000 参考: