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.翻译是:上次成功发送到服务器的数据包是0毫秒前。驱动程序没有收到来自服务器的任何数据包。
首先排查代码 连接数据库配置是否正确 如果配置正确,那就检查服务有没有启动。。。
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received
最新推荐文章于 2024-06-07 16:26:36 发布