IDEA新建Data Source报错Connection to @localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.

 

 错误详情如上图所示。

 

解决方案

在后面添加?serverTimezone=GMT

 

 

OK

感谢https://blog.csdn.net/Old_D7/article/details/99673659

posted @ 2020-05-09 10:08  LeftBody  阅读(273)  评论(0编辑  收藏  举报