spring boot 启动数据库报错(Exception during pool initialization.)

 

2018-06-27 14:12:28.804 ERROR 14312 --- [ restartedMain] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

 

posted @ 2018-06-27 14:44  zouminglan  阅读(3737)  评论(0编辑  收藏  举报