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. 0

    CentOs 7 - Java SQL error

    Stack Overflow | 4 months ago | Menno van Hout
    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.
  2. 0

    GitHub comment 474#197864188

    GitHub | 9 months ago | neocite
    org.javalite.activejdbc.InitException: Failed to connect to JDBC URL: jdbc:mysql://staging.cdpxieteqqgb.us-east-1.rds.amazonaws.com:3306/pagosim
  3. 0

    JDBC + MYSQL Communications 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error connecting to database: (using class org.gjt.mm.mysql.Driver)

    Stack Overflow | 2 years ago
    org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) 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. org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) 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. at org.pentaho.di.core.database.Database.normalConnect(Database.java:417)
  6. 0

    JDBC - cannot connect with a localhost

    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. mauritius 1 times, last 3 weeks ago
  2. rp 1 times, last 6 months ago
  3. richard77 2 times, last 1 week ago
  4. treefolk 1 times, last 2 weeks ago
  5. kjhdofjosvs 20 times, last 2 weeks ago
45 more registered users
48 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
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:214)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:298)
    3. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2252)
    4. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2285)
    5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2084)
    6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795)
    7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
    7 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327)
    3 frames
  6. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:664)
    2. java.sql.DriverManager.getConnection(DriverManager.java:247)
    2 frames
  7. com.huskehhh.mysql
    MySQL.openConnection
    1. com.huskehhh.mysql.mysql.MySQL.openConnection(MySQL.java:76)
    1 frame
  8. me.spigot.UGxSynteX
    Island.onEnable
    1. me.spigot.UGxSynteX.islands.Island.onEnable(Island.java:50)
    1 frame
  9. Bukkit
    SimplePluginManager.enablePlugin
    1. org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
    2. org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
    3. org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    3 frames
  10. org.bukkit.craftbukkit
    CraftServer.enablePlugins
    1. org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:362)
    2. org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:322)
    2 frames
  11. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:412)
    2. net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:377)
    3. net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:332)
    4. net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:271)
    5. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:535)
    5 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame