首页 > 其他分享 >(已解决)Communications link failure The last packet sent successfully to the server was 0 milliseco

(已解决)Communications link failure The last packet sent successfully to the server was 0 milliseco

时间:2023-01-15 14:11:58浏览次数:37  
标签:ago received successfully packet server was any milliseconds

使用mybatis逆向工程时,连接数据库出现如下错误:

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.

查阅资料发现,数据库连接的url需要改为connectionURL="jdbc:mysql://localhost:3306/ssm?useSSL=false",即在曾经的url后面添加useSSL=false即可

标签:ago,received,successfully,packet,server,was,any,milliseconds
From: https://www.cnblogs.com/sashuishui/p/17053404.html

相关文章