Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure;;The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

 

解决方案:

mysql数据库url中添加了autoReconnect=true&failOverReadOnly=false

相关文章:

  • 2021-05-24
  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-06-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
相关资源
相似解决方案