解决MySql - 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. 的问题
Communications link failure解决方法,我借鉴的别人的,延长MySQL的连接时间
#查询连接的时间
show global variables like 'wait_timeout';
#修改连接的时间
set global wait_timeout=604800;
浙公网安备 33010602011771号