——墨问苍生


 

1 2020-01-13 14:26:58.733  WARN 15263 --- [http-nio-8830-exec-10] com.zaxxer.hikari.pool.PoolBase          : MyHikariCP - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@49fe3d0e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2 2020-01-13 14:26:58.735  WARN 15263 --- [http-nio-8830-exec-10] com.zaxxer.hikari.pool.PoolBase          : MyHikariCP - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@516aa6c4 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.

首先在mysql中执行

1 SHOW VARIABLES LIKE "%timeout%";

SpringBoot警告-springboot2.0 hikaricp - failed to valid... no operations allowed after connection closed.

 

后查阅资料发现不是这个问题

修改/etc/my.cnf文件,添加或修改如下代码

SpringBoot警告-springboot2.0 hikaricp - failed to valid... no operations allowed after connection closed.

 

 问题解决

 

相关文章:

  • 2021-09-03
  • 2021-12-21
  • 2021-11-28
  • 2021-07-18
  • 2021-09-04
  • 2021-07-07
  • 2021-05-28
  • 2021-09-14
猜你喜欢
  • 2021-07-26
  • 2021-05-16
  • 2021-05-13
  • 2022-01-17
  • 2021-06-22
  • 2021-07-24
  • 2021-11-15
  • 2021-06-28
相关资源
相似解决方案