com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException

Could not create connection to database server. Attempted reconnect 3 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

  • via Google Groups by Corey Brady, 5 months ago
    Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  • via Atlassian JIRA by Sepideh Setayeshfar [Atlassian], 1 year ago
    Could not create connection to database server. Attempted reconnect 3 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 3 times. Giving up. 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.) at com.mysql.jdbc.Util.handleNewInstance(Util.) at com.mysql.jdbc.Util.getInstance(Util.) at com.mysql.jdbc.SQLError.createSQLException(SQLError.) at com.mysql.jdbc.SQLError.createSQLException(SQLError.) at com.mysql.jdbc.SQLError.createSQLException(SQLError.) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46) 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.) at com.mysql.jdbc.Util.handleNewInstance(Util.) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.) at java.sql.DriverManager.getConnection(DriverManager.) at java.sql.DriverManager.getConnection(DriverManager.) at org.openmrs.web.filter.initialization.InitializationFilter.executeStatement(InitializationFilter.) at org.openmrs.web.filter.initialization.InitializationFilter.access$200(InitializationFilter.java:59)

    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
    4 times, 10 months ago
    47 more bugmates