首页 > 数据库技术 > 详细

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

时间:2020-06-03 21:35:29      阅读:1161      评论:0      收藏:0      [点我收藏+]

如下图

技术分享图片

解决办法:

在URL后面添加参数即可:

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

技术分享图片

 

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

原文:https://www.cnblogs.com/q149072205/p/13040024.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!