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

Samebug tips1

MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3

  • via GitHub by oulenz
    , 10 months ago
    Access denied for user 'root'@'[client ip address]' (using password: YES)
  • via GitHub by oulenz
    , 9 months ago
    Access denied for user 'root'@'[client ip address]' (using password: YES)
  • The TCP/IP connection to the host value, port 1433 has failed. Error: "null. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
  • Stack trace

    • org.jkiss.dbeaver.model.exec.DBCConnectException: Access denied for user 'root'@'[client ip address]' (using password: YES) at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection( at org.jkiss.dbeaver.ext.mysql.model.MySQLDataSource.openConnection( at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect( at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.<init>( at org.jkiss.dbeaver.ext.mysql.model.MySQLDataSource.<init>( at org.jkiss.dbeaver.ext.mysql.MySQLDataSourceProvider.openDataSource( at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect( at at org.jkiss.dbeaver.ui.dialogs.connection.ConnectionWizard$ at at Caused by: java.sql.SQLException: Access denied for user 'root'@'[client ip address]' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException( at com.mysql.jdbc.MysqlIO.checkErrorPacket( at com.mysql.jdbc.MysqlIO.checkErrorPacket( at com.mysql.jdbc.MysqlIO.checkErrorPacket( at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication( at com.mysql.jdbc.MysqlIO.doHandshake( at com.mysql.jdbc.ConnectionImpl.coreConnect( at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly( at com.mysql.jdbc.ConnectionImpl.createNewIO( at com.mysql.jdbc.ConnectionImpl.<init>( at com.mysql.jdbc.JDBC4Connection.<init>( at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( at java.lang.reflect.Constructor.newInstance( at com.mysql.jdbc.Util.handleNewInstance( at com.mysql.jdbc.ConnectionImpl.getInstance( at com.mysql.jdbc.NonRegisteringDriver.connect( at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection( ... 10 more

    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, 2 months ago
    2 times, 6 months ago
    4 times, 20 hours ago
    3 times, 1 day ago
    Once, 1 month ago
    150 more bugmates