数据库
首页 > 数据库> > 解决idea连接mysql连接失败Could not create connection to database server. Attempted reconnect 3 times. Giving

解决idea连接mysql连接失败Could not create connection to database server. Attempted reconnect 3 times. Giving

作者:互联网

如下图

解决办法:

在URL后面添加参数即可:

?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC

 

标签:false,database,Giving,up,idea,reconnect,true,连接
来源: https://www.cnblogs.com/q149072205/p/13040024.html