The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received
错误信息中包含:
No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
就在数据库链接上加上 :useSSL=false
例如:
url: jdbc:mysql://localhost:3306/temp_2?useSSL=false&useUnicode=true&characterEncoding=utf-8&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai