java.sql.SQLException

tip

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 https://goo.gl/3E2qzg

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Access denied to user scm
    via GitHub by ramtindavanlou
    ,
  • SSL Support
    via GitHub by sergioatzori
    ,
  • Error using latest for geSuite
    via GitHub by Kainzo
    ,
  • Mysql Tomcat java.sql.SQLException - Spring Forum
    via by Unknown author,
  • accesssing another systems databse?
    via Stack Overflow by user1741023
    ,
    • java.sql.SQLException: Access denied for user 'scm'@'localhost' (using password: NO) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:963)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3966)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3902)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:875)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1712)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1228)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2253)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2284)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2083)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)[mysql-connector-java.jar:5.1.39] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.7.0_111] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[:1.7.0_111] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.7.0_111] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[:1.7.0_111] at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410)[mysql-connector-java.jar:5.1.39] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)[mysql-connector-java.jar:5.1.39] at java.sql.DriverManager.getConnection(DriverManager.java:571)[:1.7.0_111] at java.sql.DriverManager.getConnection(DriverManager.java:215)[:1.7.0_111] at com.cloudera.enterprise.dbutil.DbCommandExecutor.testDbConnection(DbCommandExecutor.java:243)[db-common-5.8.2.jar:] at com.cloudera.enterprise.dbutil.DbCommandExecutor.main(DbCommandExecutor.java:137)[db-common-5.8.2.jar:]

    Users with the same issue

    linxiaolong
    1 times, last one,
    Victor_IT
    1 times, last one,
    jshakil
    3 times, last one,
    jstrayer
    6 times, last one,
    Unknown visitor1 times, last one,
    146 more bugmates