Error : com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 274,147 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.