admin管理员组

文章数量:1618693

问题

在IDEA中连接Data Sources报错[08S01] Communications link failure.
The last packet successiuly received from the server was 4 milliseconds ago. The last packet sent successfully to the server was 4 milliseconds ago.

博主使用的是mysql8.0,在连接该数据库时超时。

解决方法

在连接的URL后面加上下面这段字符

?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true

连接成功^_^

本文标签: 报错CommunicationsIDEAmysqlsuccessiuly