com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections

spigotmc.org | 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

    CoreProtect MySQL Too Many Connections | SpigotMC - High Performance Minecraft

    spigotmc.org | 8 months ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections

    Root Cause Analysis

    1. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

      Too many connections

      at java.lang.Thread.run()
    2. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame
    3. net.coreprotect.consumer
      Process.processConsumer
      1. net.coreprotect.consumer.Consumer.run(Consumer.java:49)
      2. net.coreprotect.consumer.Process.processConsumer(Process.java:26)
      2 frames
    4. net.coreprotect.database
      Database.getConnection
      1. net.coreprotect.database.Database.getConnection(Database.java:39)
      1 frame
    5. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(Unknown Source)
      2. java.sql.DriverManager.getConnection(Unknown Source)
      2 frames
    6. MySQL jdbc
      Util.handleNewInstance
      1. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
      2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
      3. com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
      3 frames
    7. Java RT
      GeneratedConstructorAccessor97.newInstance
      1. java.lang.reflect.Constructor.newInstance(Unknown Source)
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.GeneratedConstructorAccessor97.newInstance(Unknown Source)
      3 frames
    8. MySQL jdbc
      Util.handleNewInstance
      1. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
      2. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
      3. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
      4. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
      5. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
      6. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
      7. com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
      8. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
      9. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
      10. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
      11. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
      12. com.mysql.jdbc.Util.getInstance(Util.java:382)
      13. com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
      13 frames
    9. Java RT
      GeneratedConstructorAccessor164.newInstance
      1. java.lang.reflect.Constructor.newInstance(Unknown Source)
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.GeneratedConstructorAccessor164.newInstance(Unknown Source)
      3 frames