java - com.mysql.jdbc.exceptions.jdbc4.CommunicationsException -


  com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The packet successes fully received from the server 176,705,355 Thousands of milliseconds ago the last packet was successfully sent to the server 176,705,366 milliseconds ago. The server of 'Wait_timeout' is longer than the configured value. To avoid this problem, increase the server's configured values ​​for client timeouts, or use the connector / j connection property 'autoReconnect = true' before using it in your application The validity of the connection should end and / or test before doing so.  

Whenever you include the query in log4j.xml, the exception is happening above ??


Comments