解决异常:Could not create connection to database server. Attempted reconnect 3 times. Giving up.

1.检查配置文件中

mysql.jdbcUrl:

mysql.userName:

mysql.passWord:

表名

是否正确。

2.检查MySQL服务是否运行。

3.如果使用Eclipse类工具的项目,一定要记得clean工程。

猜你喜欢

转载自blog.csdn.net/qq_35583216/article/details/80656003