com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

Could not create connection to database server. Attempted reconnect 4 times. Giving up.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web978

  • Could not create connection to database server. Attempted reconnect 4 times. Giving up.
  • Could not create connection to database server. Attempted reconnect 4 times. Giving up.
  • Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  • Stack trace

    • com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 4 times. Giving up. at sun.reflect.GeneratedConstructorAccessor77.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) at com.mysql.jdbc.Util.getInstance(Util.java:382) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2239) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2168) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) at java.sql.DriverManager.getConnection(DriverManager.java:579) at java.sql.DriverManager.getConnection(DriverManager.java:190) at me.ryanhamshire.GriefPrevention.DatabaseDataStore.refreshDataConnection(DatabaseDataStore.java:636) at me.ryanhamshire.GriefPrevention.DatabaseDataStore.initialize(DatabaseDataStore.java:65) at me.ryanhamshire.GriefPrevention.DatabaseDataStore.<init>(DatabaseDataStore.java:46) at me.ryanhamshire.GriefPrevention.GriefPrevention.onEnable(GriefPrevention.java:202) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugin(CraftServer.java:356) at org.bukkit.craftbukkit.v1_8_R2.CraftServer.enablePlugins(CraftServer.java:316) at net.minecraft.server.v1_8_R2.MinecraftServer.r(MinecraftServer.java:416) at net.minecraft.server.v1_8_R2.MinecraftServer.k(MinecraftServer.java:382) at net.minecraft.server.v1_8_R2.MinecraftServer.a(MinecraftServer.java:337) at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:257) at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) at java.lang.Thread.run(Thread.java:722)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Once, 1 month ago
    44 more bugmates