org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user ''@'localhost' to database 'azkaban')

GitHub | hreview | 6 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. 0

    I can't start web server without set mysql.password

    GitHub | 6 months ago | zhangnew
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user ''@'localhost' to database 'azkaban')
  2. 0

    GitHub comment 753#249942059

    GitHub | 6 months ago | hreview
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user ''@'localhost' to database 'azkaban')
  3. 0

    Cannot create PoolableConnectionFactory (Unknown database 'XYZ_DEV')

    Stack Overflow | 3 years ago | ProDeep Rajashekar
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unknown database 'XYZ')
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Setting up SonarQube on Centos 7 with mysql 5.5 (mariadb): Failed to start SonarQube

    Stack Overflow | 2 years ago | Lucas Earl
    java.lang.IllegalStateException: Can not connect to database. Please check connectivity and settings (see the properties prefixed by 'sonar.jdbc.').
  6. 0

    Lucas Earl - Google+

    google.com | 1 year ago
    java.lang.IllegalStateException: Can not connect to database. Please check connectivity and settings (see the properties prefixed by 'sonar.jdbc.').

  1. DoktorDoener666 1 times, last 3 months ago
  2. Hronom 1 times, last 3 months ago
  3. mortalman7 1 times, last 3 months ago
  4. linxiaolong 2 times, last 5 months ago
  5. tvrmsmith 4 times, last 7 months ago
25 more registered users
70 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

    Access denied for user ''@'localhost' to database 'azkaban'

    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:411)
    2. com.mysql.jdbc.Util.getInstance(Util.java:386)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
    6. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
    7. com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4736)
    8. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1342)
    9. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
    10. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
    11. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
    12. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
    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:411)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
    3 frames
  6. Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    2. org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    3. org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    4. org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    5. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    6. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    6 frames
  7. Azkaban
    DataSourceUtils$MySQLBasicDataSource$MonitorThread.run
    1. azkaban.database.DataSourceUtils$MySQLBasicDataSource$MonitorThread.pingDB(DataSourceUtils.java:195)
    2. azkaban.database.DataSourceUtils$MySQLBasicDataSource$MonitorThread.run(DataSourceUtils.java:183)
    2 frames