Bug #23011 Access Denied when using ssl
Submitted: 5 Oct 2006 13:22 Modified: 28 Mar 2014 10:15
Reporter: Heiko Lettmann Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.0.3 OS:Windows (Windows)
Assigned to: Alexander Soklakov CPU Architecture:Any

[5 Oct 2006 13:22] Heiko Lettmann
Description:
I have configured MySQL to use a Server-Certificate. The Connections require a Client-Certificate. 
Everything works fine. Now trying to log in with a wrong password is followedby a  "access denied" error. 
After that all attempts to log in give me the "access denied" message even if the right password is used.

How to repeat:
conn = DriverManager.getConnection(url, user, wrong_password);

--> "Access denied..."

conn = DriverManager.getConnection(url, user, right_password);

--> "Access denied..."

...

Suggested fix:
Before attempting to make a new connection insert a System.gc()!

System.gc();
conn = DriverManager.getConnection(url, user, right_password);
[22 Oct 2006 11:55] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version of Connector/J, 5.0.4, and inform about the results.
[23 Nov 2006 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[28 Mar 2014 10:15] Alexander Soklakov
I close this report as "Can't repeat" because here is no feedback for a long time and codebase is too old. Please, feel free to reopen it if the problem still exists in current driver.