The last packet sent successfully to the server was 0 milliseconds ago. The driver has not receiv...

一开始以为是数据库连接错误,网上参考了下说是参数配置的问题,最后修改useSSL=false解决
原因:
该url的最后useSSL=false,不应该是true
url: jdbc:mysql://172.31.33.202:3306/betmania_user?useUnicode=true&characterEncoding=utf-8&serverTimezone=Hongkong&allowMultiQueries=true&useSSL=false

你可能感兴趣的:(The last packet sent successfully to the server was 0 milliseconds ago. The driver has not receiv...)