java通过代码连接的时候出现Could not create connection to database server. Attempted reconnect 3 times. Giving up.

解决方法:

1.

 

2.jar版本要和mysql版本匹配

 

posted @ 2020-09-23 14:56  miao-xixixi  阅读(293)  评论(0)    收藏  举报