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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by rama ilango, 1 year ago
Data source rejected establishment of connection, message from server: "Too many connections"
via Stack Overflow by kldavis4
, 2 years ago
Data source rejected establishment of connection, message from server: "Too many connections"
via Stack Overflow by Gaurav Nanda
, 2 years ago
via Oracle Community by 843859, 6 months ago
via Stack Overflow by Nilesh Chaudhary
, 2 years ago
No operations allowed after connection closed.
via Oracle Community by 843833, 1 year ago
Data source rejected establishment of connection, message from server: "Too many connections"
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:921)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1053)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2743)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.