org.jkiss.dbeaver.model.exec.DBCConnectException: Access denied for user 'root'@'[client ip address]' (using password: YES)

GitHub | oulenz | 5 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

    GitHub comment 740#252871123

    GitHub | 5 months ago | oulenz
    org.jkiss.dbeaver.model.exec.DBCConnectException: Access denied for user 'root'@'[client ip address]' (using password: YES)
  2. 0

    GitHub comment 740#247589515

    GitHub | 5 months ago | oulenz
    org.jkiss.dbeaver.model.exec.DBCConnectException: Access denied for user 'root'@'[client ip address]' (using password: YES)
  3. 0

    getConnection not connection in JDBC on connecting with local mysql db

    Stack Overflow | 3 months ago | S. Vyas
    java.sql.SQLException: Access denied for user 'root'@'10.0.2.15' (using password: YES)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.sql.SQLException: Access denied for user 'sa'@'localhost' (using password: YES)

    Stack Overflow | 2 months ago | Anish
    java.sql.SQLException: Access denied for user 'sa'@'localhost' (using password: YES)
  6. 0

    HikariDataSource throws no sql-exceptions

    GitHub | 3 months ago | AlmazKo
    com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Access denied for user '****'@'localhost' (using password: YES)
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.sql.SQLException

    Access denied for user 'root'@'[client ip address]' (using password: YES)

    at com.mysql.jdbc.SQLError.createSQLException()
  2. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:964)
    2. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)
    3. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:873)
    5. com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1710)
    6. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1226)
    7. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2253)
    8. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2284)
    9. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2083)
    10. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806)
    11. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    11 frames
  3. 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
  4. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)
    3 frames
  5. org.jkiss.dbeaver
    AbstractJob.run
    1. org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:162)
    2. org.jkiss.dbeaver.ext.mysql.model.MySQLDataSource.openConnection(MySQLDataSource.java:376)
    3. org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:73)
    4. org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.<init>(JDBCDataSource.java:97)
    5. org.jkiss.dbeaver.ext.mysql.model.MySQLDataSource.<init>(MySQLDataSource.java:82)
    6. org.jkiss.dbeaver.ext.mysql.MySQLDataSourceProvider.openDataSource(MySQLDataSourceProvider.java:120)
    7. org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:644)
    8. org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:74)
    9. org.jkiss.dbeaver.ui.dialogs.connection.ConnectionWizard$ConnectionTester.run(ConnectionWizard.java:223)
    10. org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)
    10 frames
  6. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame