java.sql.SQLException: Invalid authorization specification: Access denied for user: 'root@localhost' (Using password: YES)

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 hivmr.com by Unknown author, 1 year ago
Invalid authorization specification: Access denied for user: 'root@localhost' (Using password: YES)
via Google Groups by David Bertolo, 2 years ago
Server configuration denies access to data source
via Oracle Community by 843859, 3 months ago
Invalid authorization specification: Access denied for user: 'root@localhost' (Using password: YES)
via Google Groups by lksampson, 2 years ago
Server configuration denies access to data source
via Google Groups by pva, 2 years ago
Server configuration denies access to data source
via Oracle Community by 843854, 1 year ago
Server configuration denies access to data source
java.sql.SQLException: Invalid authorization specification: Access denied for user: 'root@localhost' (Using password: YES)
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
at org.gjt.mm.mysql.Connection.init(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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