The last packet successfully received from the server was 57,473 milliseconds ago
时间: 2023-09-21 12:03:50 浏览: 116
服务器接收
"The last packet successfully received from the server was 57,473 milliseconds ago"这个错误通常是由于与MySQL服务器的通信问题引起的。通过引用中的信息,我们可以看到这是一个`com.mysql.jdbc.exceptions.jdbc4.CommunicationsException`。根据引用提供的解决方法,您可以在您的数据源配置中添加一个`socketTimeout`参数,并将其设置为适当的值来解决此问题。这将确保在与MySQL服务器通信时,如果在指定的时间内没有收到任何响应,则会发生超时错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [解决Cause com.mysql.jdbc.exceptions.jdbc4.CommunicationsException](https://download.csdn.net/download/lj_70596/39157301)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [解决 ‘The last packet successfully received from the server was xxx milliseconds ago‘ 问题](https://blog.csdn.net/tiantang_1986/article/details/130689791)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [The last packet successfully received from the server was xxx milliseconds ago. The last packet sen](https://blog.csdn.net/qq_42701659/article/details/131012082)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文