问题遇到的现象和发生背景
SpringBoot服务启动失败,报下错误, 服务日志跑到下面这行就卡着好久不动了, 过了一段时间就开始报错Communications link failure具体的可以看下面.过了两天报错也没有了,就直接输出一大顿日志然后启动不了.
其他服务都可以正常启动,唯独一个服务启动这样子,真是头大. jdbc连接参数都是和其他服务一样的设置, mysql连接时间也从八小时延长至七天还是未解决,各位帮忙看下感谢
i.s.s.a.d.SeataAutoDataSourceProxyCreator - [getAdvicesAndAdvisorsForBean,45] - Auto proxy of [dataSource]
运行结果及报错内容
0:10:36.177 [main] ERROR c.z.h.p.HikariPool - [throwPoolInitializationException,593] - HikariPool-1 - Exception during pool initialization.
com.mysql.cj.jdbc.exceptions.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.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)