com.mysql.jdbc.CommunicationsException: Communications link failure Last packet sent to the server was 1 ms ago.

coderanch.com | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Communications link failure?

    Oracle Community | 9 years ago | 843859
    com.mysql.jdbc.CommunicationsException: Communications link failure Last packet sent to the server was 1 ms ago.
  2. 0

    Hey need help with a mysql exception i am getting abt communication link failure

    Stack Overflow | 6 years ago | anonymous123
    com.mysql.jdbc.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driv er has not received any packets from the server. at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1 112) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:346)
  3. 0

    mycat使用JDBC连接postgresql报如下异常

    GitHub | 2 years ago | zhouwenbin2000
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 20 ms ago.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    GitHub | 2 years ago | pashtika
    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

    probably mysql connector problem

    opengts | 7 years ago | *anonymous
    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.

  1. linxiaolong 1 times, last 3 weeks ago
  2. osvzs 2 times, last 1 month ago
  3. Casper 5 times, last 4 days ago
  4. QrCeric 1 times, last 1 month ago
  5. poroszd 1 times, last 2 months ago
29 more registered users
65 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 refused: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    7. java.net.Socket.connect(Unknown Source)
    8. java.net.Socket.<init>(Unknown Source)
    9. java.net.Socket.<init>(Unknown Source)
    9 frames
  3. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
    3. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    4. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:723)
    5. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:298)
    6. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    6 frames
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  5. test
    Test.main
    1. test.DBConnection.getConnection(DBConnection.java:56)
    2. test.Test.main(Test.java:14)
    2 frames