mysql Communications link failure The last packet sent successfully to the server was
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.连接mysql有问题就会报错,可能ip不对,也可能端口号不对,数据库名称不对,数据库没开,数据库的服务器端口没开或是被禁用了。仔细检查一下自己的问题。...