1、端口版本问题:

Could not create connection to database server. Attempted reconnect 3 times.

Could not create connection to database server. Attempted reconnect 3 times.

2、查看数据库是否连接:

进入,cmd,net start mysql,即可。

3、检查配置文件中:

mysql.jdbcUrl:

mysql.userName:

mysql.passWord:

是否正确。

相关文章: