The last packet successfully received from the server was xxx milliseconds ago. The last packet sen

问题: Java项目启动,mysql 配置报错 The last packet successfully received from the server was 304 milliseconds a

解决方法

  1. 将mysql的配置中的&useSSL=true修改 &useSSL=false
  2. mysql的配置中没有的则添加 &useSSL=false

你可能感兴趣的:(Java,java)