博主首页

(No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value

(No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value

 

先按提示添加maxLifetime的超时时间试试看


spring:
# 数据库连接
datasource:
username: root
password:
url:
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
max-lifetime: 1200000
 

 

posted @ 2022-09-22 09:17  笑~笑  阅读(1165)  评论(0编辑  收藏  举报