The last packet successfully received from the server was 290 milliseconds a
时间: 2023-08-26 14:17:30 浏览: 134
get_tcp_code.rar_The Capture_get_packet_code
报错信息"The last packet successfully received from the server was 290 milliseconds a"通常是由于与MySQL服务器的连接超时引起的。根据引用和引用的建议,您可以尝试修改MySQL的配置,将"useSSL"参数的值改为false,即"useSSL=false"。此外,您还可以在spring数据源配置中增加"connectTimeout"参数,并将其值适当增大。这样可以增加与MySQL服务器建立连接的超时时间,以确保成功接收到服务器的最后一个数据包。您可以参考引用中的示例配置来进行修改。修改完成后,重新启动Java项目,应该能够解决该报错。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [解决 ‘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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文