Access denied when using mysql jdbc connector 3.1.8
Posted by: Gennady Sorokopud
Date: April 16, 2005 08:57AM

Hello,

I've been using jdbc connector 3.1.0-alpha for some time and everything seemed to be working fine. Now i've decided to upgrade to 3.1.8 and i'm getting this:
java.sql.SQLException: Access denied for user: 'gena@genah-int.genahome.org' (Using password: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2851)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:753)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1208)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1702)
at com.mysql.jdbc.Connection.<init>(Connection.java:405)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)

The password is fine, and i'm able to connect from the same system running jdbc via the command line. I've also performed all the necessary GRANT operations, but the problem persists. 3.1.0-alpha continues to work fine. 3.1.8 (3.1.6 and 3.2.0-alpha also) do not. I'm using mysql 4.1.11.

Any ideas?

Options: ReplyQuote


Subject
Written By
Posted
Access denied when using mysql jdbc connector 3.1.8
April 16, 2005 08:57AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.