liquibase.exception.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

GitHub | solvek | 4 months ago
  1. 0

    GitHub comment 2298#246317517

    GitHub | 4 months ago | solvek
    liquibase.exception.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  2. 0

    GitHub comment 196#166128587

    GitHub | 1 year ago | Rustypredator
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    jdbc : Could not create connection to database server

    Stack Overflow | 6 days ago | Ali İ.
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

  1. gamebusterz 1 times, last 3 days ago
  2. raytest 4 times, last 2 days ago
  3. Reich 1 times, last 3 days ago
  4. andyglick 1 times, last 6 days ago
  5. Hronom 1 times, last 6 days ago
56 more registered users
39 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. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
    2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:298)
    3. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2253)
    4. com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2106)
    5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2090)
    6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795)
    7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
    7 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327)
    3 frames
  6. Liquibase Core
    DatabaseFactory.openDatabase
    1. liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:239)
    2. liquibase.database.DatabaseFactory.openDatabase(DatabaseFactory.java:151)
    3. liquibase.database.DatabaseFactory.openDatabase(DatabaseFactory.java:140)
    3 frames
  7. org.traccar.database
    DataManager.<init>
    1. org.traccar.database.DataManager.initDatabaseSchema(DataManager.java:157)
    2. org.traccar.database.DataManager.<init>(DataManager.java:65)
    2 frames
  8. org.traccar
    Main.main
    1. org.traccar.Context.init(Context.java:121)
    2. org.traccar.Main.main(Main.java:29)
    2 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  10. Java Service Wrapper
    WrapperSimpleApp.run
    1. org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
    1 frame
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame