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

iteye.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java语言中用jdbc连接MySql数据库总是报错 求解 - ITeye问答

    iteye.com | 8 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 1,392,390,324,572 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
  2. 0

    PermissionsEx Groups ERROR! HELP!

    GitHub | 4 years ago | cheddarjac
    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.
  3. 0

    Help!

    GitHub | 5 years ago | CraftyMcloving
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai lure The last packet sent successfully to the server was 0 milliseconds ago. The driv er has not received any packets from the server.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    エミュ鯖構築方法+質問スレ - 1315916521 - メイプルエミュ鯖交流所

    shitaraba.net | 2 years ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai lure Last packet sent to the server was 0 ms ago.
  6. 0

    MySQL communication link failure

    Stack Overflow | 2 years ago
    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. michallos 1 times, last 5 months ago
  2. linxiaolong 18 times, last 5 months ago
  3. osvzs 2 times, last 5 days ago
  4. Casper 1 times, last 5 days ago
  5. QrCeric 1 times, last 2 weeks 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(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:519)
    7. java.net.Socket.connect(Socket.java:469)
    8. java.net.Socket.<init>(Socket.java:366)
    9. java.net.Socket.<init>(Socket.java:209)
    9 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:290)
    3. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2137)
    4. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
    5. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    5 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
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    3 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:582)
    2. java.sql.DriverManager.getConnection(DriverManager.java:185)
    2 frames
  7. dbutil
    DBUtils.main
    1. dbutil.DBUtils.getConnection(DBUtils.java:38)
    2. dbutil.DBUtils.main(DBUtils.java:59)
    2 frames