大家好:我用jdbc连接mysql遇到下列错误
the last packet sent successfully to the server was 0 milliseconds ago.the driver has  not received any packets from server;
百度后说是连接数据后8小时没有取数据等等,要配置my.cnf文件,却又没有找到这个文件,请问这是怎么回事。