com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

GitHub | Turbovix | 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. 1

    GitHub comment 2337#247908619

    GitHub | 8 months ago | Turbovix
    com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  2. 0

    LWC Cannot connect to my MySQL database after restarting computer.

    GitHub | 5 years ago | timoteo2000
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  3. 0

    エミュ鯖構築方法+質問スレ - 1315916521 - メイプルエミュ鯖交流所

    shitaraba.net | 2 years ago
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 417#145366028

    GitHub | 2 years ago | KrysisRD
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 10 times. Giving up.
  6. 0

    Error

    GitHub | 2 years ago | KrysisRD
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 10 times. Giving up.

  1. tvrmsmith 6 times, last 6 months ago
  2. MoYapro 3 times, last 7 months ago
  3. slash 1 times, last 1 week ago
  4. ivanszkypeter 58 times, last 1 week ago
  5. musketyr 1 times, last 1 week ago
32 more registered users
63 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.MySQLSyntaxErrorException

    Unknown database 'traccar'

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. 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
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    2. com.mysql.jdbc.Util.getInstance(Util.java:387)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:942)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3966)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3902)
    6. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:875)
    7. com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1712)
    8. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1228)
    9. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2253)
    10. com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2104)
    11. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2088)
    12. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806)
    13. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    13 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:410)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)
    3 frames
  6. HikariCP-java6
    HikariDataSource.<init>
    1. com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95)
    2. com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:101)
    3. com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341)
    4. com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:508)
    5. com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:107)
    6. com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:71)
    6 frames
  7. org.traccar.database
    DataManager.<init>
    1. org.traccar.database.DataManager.initDatabase(DataManager.java:111)
    2. org.traccar.database.DataManager.<init>(DataManager.java:66)
    2 frames
  8. org.traccar
    Main.main
    1. org.traccar.Context.init(Context.java:150)
    2. org.traccar.Main.main(Main.java:35)
    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