java.sql.SQLException: Access denied for user: 'gts@localhost.localdomain' (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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via opengts by trop1k
, 1 year ago
Access denied for user: 'gts@localhost.localdomain' (Using password: YES)
via coderanch.com by Unknown author, 2 years ago
General error, message from server: "Access denied for user: 'samurai@bithorax' to database 'mysql'"
via Oracle Community by 843859, 11 months ago
Invalid authorization specification, message from server: "Access denied for user: 'root@testbox5' (Using password: YES)"
via Google Groups by Chris Hatton, 2 years ago
Invalid authorization specification message from server: "Access denied for user: 'tattoop_chris@82-40-66-187.cable.ubr09.uddi.**ueyonder .co.uk' (Using password: YES)"
via coderanch.com by Unknown author, 2 years ago
Access denied for user: 'root@ localhost' (Using password: YES)
via Oracle Community by 843854, 1 year ago
Invalid authorization specification, message from server: "Access denied for user: 'web@192.168.2.48' (Using password: YES)"
java.sql.SQLException: Access denied for user: 'gts@localhost.localdomain' (Using password: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:798)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1256)
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:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at org.opengts.dbtools.DBConnection.getConnection(DBConnection.java:204)
at org.opengts.dbtools.DBAdmin.execCommands(DBAdmin.java:491)
at org.opengts.db.DBConfig.main(DBConfig.java:267)

Users with the same issue

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
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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