java.sql.SQLException: Access denied for user 'admin'@'localhost' (using passwor d: 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 opengts by brunosvc
, 1 year ago
Access denied for user 'admin'@'localhost' (using passwor d: YES)
via opengts by miguelocepeda
, 1 year ago
Access denied for user 'gts'@'localhost' (using password: NO)
via opengts by zeedoshinra
, 1 year ago
Access denied for user 'root'@'localhost' (using password : NO)
via opengts by cesarman
, 1 year ago
Access denied for user 'root'@'localhost' (using password: YES)
via Google Groups by visam gültekin, 5 months ago
Invalid authorization specification, message fromserver : "Access denied for user 'root'@'localhost' (using password: YES)"
via Google Groups by visam gültekin, 5 months ago
Invalid authorization specification, message from server: "Access denied for user 'root'@'localhost' (using password: YES)"
java.sql.SQLException: Access denied for user 'admin'@'localhost' (using passwor d: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:798)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3700)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1203)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2572)
at com.mysql.jdbc.Connection.(Connection.java:1485)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at org.opengts.dbtools.DBConnection.getConnection(DBConnection.java:204)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
12 more bugmates

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