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

  1. 0

    JBoss don't fail over MySQL slave using datasource

    Database Administrators | 4 years ago | Jean-Rémy Revy
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 1 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
  2. 0

    随机出现500错误

    GitHub | 3 years ago | ccj67
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 17,304 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.
  3. 0

    java.io.EOFException after upgrading to MySQL 5.6 and restoring a database when re-running unit test

    Stack Overflow | 3 years ago | Josh Unger
    java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate connectio exception

    Stack Overflow | 5 years ago | user1136875
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
  6. 0

    ibatis + glassfish: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    Stack Overflow | 6 years ago | Ben
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 129,064 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.

  1. mauritius 2 times, last 2 months ago
1 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.io.EOFException

    Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

    at com.mysql.jdbc.MysqlIO.readFully()
  2. MySQL jdbc
    MysqlIO.reuseAndReadPacket
    1. com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2552)
    2. com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3002)
    2 frames