com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 1 milliseconds ago. The driver has not received any packets from the server.

Server Fault | gav | 7 years ago
  1. 0

    Cannot connect to MySQL with JDBC - Connection Timeout - Ubuntu 9.04

    sohu.io | 11 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 1 milliseconds ago. The driver has not received any packets from the server.
  2. 0

    Cannot connect to MySQL over TCP locally - Connection Timeout - Ubuntu 9.04

    Server Fault | 7 years ago | gav
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 1 milliseconds ago. The driver has not received any packets from the server.
  3. 0

    JDBC connectivity issue while connecting to college server

    Stack Overflow | 3 years ago | sneha
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSL server with SSLSocketFactory

    Stack Overflow | 3 years ago | user1256477
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  6. 0

    ERROR org.hibernate.util.JDBCExceptionReporter - Communications link failure

    Stack Overflow | 3 years ago | rahul
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 1 ms ago.

  1. mortalman7 14 times, last 5 months ago
  2. linxiaolong 2 times, last 3 weeks ago
  3. fima 28 times, last 2 months ago
  4. kuldeep 2 times, last 2 months ago
  5. mauritius 2 times, last 2 months ago
7 more registered users
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Constructor.newInstance
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    3 frames
  3. MySQL jdbc
    ConnectionImpl.createNewIO
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
    2. com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1122)
    3. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:344)
    4. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2181)
    4 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  5. MySQL jdbc
    SQLError.createCommunicationsException
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
    2. com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1122)
    2 frames
  6. Unknown
    TestConnection.main
    1. TestConnection.main(TestConnection.java:14)
    1 frame