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


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: '' (Using password: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(
at com.mysql.jdbc.MysqlIO.checkErrorPacket(
at com.mysql.jdbc.MysqlIO.doHandshake(
at com.mysql.jdbc.Connection.createNewIO(
at com.mysql.jdbc.Connection.<init>(
at com.mysql.jdbc.NonRegisteringDriver.connect(

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

Written By
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.