ru.tehkode.permissions.exceptions.PermissionBackendException: Unable to connect to SQL database

GitHub | liuqilili | 4 months ago
  1. 0

    Unable to connect to SQL database

    GitHub | 4 months ago | liuqilili
    ru.tehkode.permissions.exceptions.PermissionBackendException: Unable to connect to SQL database
  2. 0

    latest LogBlock broken on latest Spigot build 601

    GitHub | 4 years ago | drdeft
    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

    Cant connect to DB javafx?

    Stack Overflow | 8 months ago | MIGUEL ANGEL SANCHEZ BRAVO
    java.lang.IllegalStateException: Cannot connect the database!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [javasf] Varias unidades persistencia OFF-TOPIC

    Google Groups | 6 years ago | Marcelo p&f
    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 1 week ago
  2. treefolk 2 times, last 6 days ago
  3. linxiaolong 18 times, last 1 month ago
  4. Kialandei 1 times, last 1 month ago
  5. DoktorDoener666 41 times, last 3 weeks ago
24 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 timed out: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.<init>
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)[?:1.8.0_101]
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)[?:1.8.0_101]
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)[?:1.8.0_101]
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)[?:1.8.0_101]
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)[?:1.8.0_101]
    6. java.net.PlainSocketImpl.connect(Unknown Source)[?:1.8.0_101]
    7. java.net.SocksSocketImpl.connect(Unknown Source)[?:1.8.0_101]
    8. java.net.Socket.connect(Unknown Source)[?:1.8.0_101]
    9. java.net.Socket.connect(Unknown Source)[?:1.8.0_101]
    10. java.net.Socket.<init>(Unknown Source)[?:1.8.0_101]
    11. java.net.Socket.<init>(Unknown Source)[?:1.8.0_101]
    11 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    3. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    4. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    7 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_101]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_101]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_101]
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)[?:1.8.0_101]
    4 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:407)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    3 frames
  6. Bukkit PEX
    SQLBackend.<init>
    1. ru.tehkode.libs.org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)[PermissionsEx-1.23.3.jar:?]
    2. ru.tehkode.libs.org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)[PermissionsEx-1.23.3.jar:?]
    3. ru.tehkode.libs.org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)[PermissionsEx-1.23.3.jar:?]
    4. ru.tehkode.libs.org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)[PermissionsEx-1.23.3.jar:?]
    5. ru.tehkode.libs.org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)[PermissionsEx-1.23.3.jar:?]
    6. ru.tehkode.libs.org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)[PermissionsEx-1.23.3.jar:?]
    7. ru.tehkode.permissions.backends.sql.SQLBackend.getSQL(SQLBackend.java:245)[PermissionsEx-1.23.3.jar:?]
    8. ru.tehkode.permissions.backends.sql.SQLBackend.<init>(SQLBackend.java:112)[PermissionsEx-1.23.3.jar:?]
    8 frames
  7. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.8.0_101]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_101]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[?:1.8.0_101]
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)[?:1.8.0_101]
    4 frames
  8. Bukkit PEX
    PermissionsEx.onEnable
    1. ru.tehkode.permissions.backends.PermissionBackend.getBackend(PermissionBackend.java:392)[PermissionsEx-1.23.3.jar:?]
    2. ru.tehkode.permissions.backends.PermissionBackend.getBackend(PermissionBackend.java:367)[PermissionsEx-1.23.3.jar:?]
    3. ru.tehkode.permissions.PermissionManager.createBackend(PermissionManager.java:624)[PermissionsEx-1.23.3.jar:?]
    4. ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:606)[PermissionsEx-1.23.3.jar:?]
    5. ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:693)[PermissionsEx-1.23.3.jar:?]
    6. ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:67)[PermissionsEx-1.23.3.jar:?]
    7. ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:175)[PermissionsEx-1.23.3.jar:?]
    7 frames
  9. Bukkit
    SimplePluginManager.enablePlugin
    1. org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    2. org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    3. org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    3 frames
  10. org.bukkit.craftbukkit
    CraftServer.enablePlugins
    1. org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    2. org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    2 frames
  11. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    2. net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    3. net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    4. net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    5. net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:561)[PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar:git-PaperSpigot-e489049-07c3001]
    5 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)[?:1.8.0_101]
    1 frame