com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"

segmentfault.com | 4 months ago
  1. 0

    jdbctemplate - java spring c3p0 jdbc 怎么循环插入几十次就挂了 - SegmentFault

    segmentfault.com | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
  2. 0

    Crash log when submitting many jobs to the grid

    GitHub | 4 years ago | georgebyelas
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
  3. 0

    SQLError 'Too many connections' on dataexplorer 'aggregates' tab

    GitHub | 1 year ago | erwinwinder
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1333#128250457

    GitHub | 1 year ago | hackerunet
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  6. 0

    RE: Database too many connections - Forums | Liferay

    liferay.com | 1 year ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection,  message from server: "Too many connections"

  1. tvrmsmith 4 times, last 3 months ago
  2. MoYapro 4 times, last 5 months ago
  3. fima 24 times, last 2 months ago
  4. mauritius 6 times, last 2 months ago
  5. tvrmsmith 3 times, last 3 months ago
4 more registered users
38 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. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

    Data source rejected establishment of connection, message from server: "Too many connections"

    at sun.reflect.GeneratedConstructorAccessor13.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor13.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    3. java.lang.reflect.Constructor.newInstance(Unknown Source)
    3 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
    2. com.mysql.jdbc.Util.getInstance(Util.java:360)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    4. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:935)
    5. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
    6. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1037)
    7. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234)
    8. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2265)
    9. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064)
    10. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790)
    11. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
    11 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    3. java.lang.reflect.Constructor.newInstance(Unknown Source)
    3 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
    3 frames
  6. c3p0:JDBC DataSources/Resource Pools
    ThreadPoolAsynchronousRunner$PoolThread.run
    1. com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
    2. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
    3. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
    4. com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
    5. com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
    6. com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
    7. com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
    8. com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
    9. com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
    9 frames