在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
连接成功^_^