com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 14,380,298 milliseconds ago. The last packet sent successfully to the server was 14,380,634 milliseconds ago.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via github.com by Unknown author

Probably there is a bug in TestNG Eclipse plugin (6.8.6.20130607_0745), try an other version (e.g. 6.8.0.20121120_1820)

,
via GitHub by ppoulard

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

Solutions on the web

via Stack Overflow by D.Madu
, 9 months ago
Communications link failure The last packet successfully received from the server was 14,380,298 milliseconds ago. The last packet sent successfully to the server was 14,380,634 milliseconds ago.
via Stack Overflow by D.Madu
, 1 year ago
Communications link failure The last packet successfully received from the server was 14,391,063 milliseconds ago. The last packet sent successfully to the server was 14,391,344 milliseconds ago.
via Stack Overflow by Caffeine Coma
, 2 years ago
The last packet successfully received from the server was 41,936,868 milliseconds ago. The last packet \ sent successfully to the server was 41,936,868 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should
via GitHub by VincenzoFerme
, 1 year ago
The last packet successfully received from the server was 539,758,498 milliseconds ago. The last packet sent successfully to the server was 539,758,498 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should
via AppFuse JIRA by J. Garcia, 1 year ago
The last packet successfully received from the server was 63,131,952 milliseconds ago. The last packet sent successfully to the server was 63,131,952 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should
via AppFuse JIRA by J. Garcia, 1 year ago
The last packet successfully received from the server was 63,131,952 milliseconds ago. The last packet sent successfully to the server was 63,131,952 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 14,380,298 milliseconds ago. The last packet sent successfully to the server was 14,380,634 milliseconds ago.
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3725)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2506)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:4842)
at org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnection.java:371)
at undefined.CreatePO.getItemFromDB(CreatePO.java:84)
at undefined.CreatePO.run(CreatePO.java:53)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)

Users with the same issue

2243 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 year ago
Once, 6 months ago
347 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.