java.sql.SQLException: Access denied for user 'root '@'localhost' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:1075) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:3566) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:3498) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:919) at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java: 4004) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:12 84) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(Co nnectionImpl.java:2312) at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onImpl.java:2122) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImp l.java:774) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connect ion.java:49) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via javaprogrammingforums.com by Unknown author, 1 year ago
Access denied for user 'root '@'localhost' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:1075) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:3566) at com.mysql.jdbc.MysqlIO.checkErrorPacket
via nabble.com by Unknown author, 2 years ago
(LazyConnectionDataSourceProxy.java:162) at >> > >> > org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy.<init>(LazyConnectionDataSourceProxy.java:106) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> > Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown >> > Source) at >> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown >> > Source)
via Oracle Community by 843854, 1 year ago
Code) at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java, Compiled Code) at com.informix.jdbc.IfxSqli.executeOpenDatabase(IfxSqli.java, Compiled Code) at com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java, Compiled Code)
java.sql.SQLException: Access denied for user 'root '@'localhost' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:1075) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:3566) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:3498) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:919) at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java: 4004) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:12 84) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(Co nnectionImpl.java:2312) at com.mysql.jdbc.ConnectionImpl.createNewIO(Connecti onImpl.java:2122) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImp l.java:774) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connect ion.java:49) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.