com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 2,884 milliseconds ago. The last packet sent successfully to the server was 2,883 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

Solutions on the web

via Oracle Community by progre55, 1 year ago
Communications link failure The last packet successfully received from the server was 2,884 milliseconds ago. The last packet sent successfully to the server was 2,883 milliseconds ago.
via GitHub by Xofter
, 2 years ago
Communications link failure The last packet successfully received from the server was 6 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
via Stack Overflow by Fahad Mullaji
, 2 years ago
Communications link failure - The last packet successfully received from the server was 28,901,647 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
via Stack Overflow by Nick
, 2 years ago
Communications link failure The last packet successfully received from the server was 2,618,063 milliseconds ago. The last packet sent successfully to the server was 44,734 milliseconds ago.
via Google Groups by krzysiek, 5 months ago
Communications link failure Last packet sent to the server was 1 ms ago.
via Stack Overflow by user1009569
, 2 years ago
Communications link failure The last packet successfully received from the server was 27,697 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 2,884 milliseconds ago. The last packet sent successfully to the server was 2,883 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3052)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2938)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3481)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2077)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2362)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2280)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2265)
at org.progre55.connector.UserConnector.updateUserCalls(UserConnector.java:278)

Users with the same issue

Once, 4 months ago
Once, 8 months ago
28 times, 1 year ago
2 times, 1 year ago
8 times, 1 year ago

Write tip

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