Re: Access denied when using mysql jdbc connector 3.1.8
Posted by: Gennady Sorokopud
Date: April 16, 2005 09:17AM

Ok, i think i've figured this out:
in com.mysql.jdbc.NonRegisteringDriver.connect(String url, Properties info)
if i pass a URL with one password (i.e. jdbc:mysql://xx.yy.zz.tt:3306/db?user=John&password=Doe), but provide different password in "info" properties (it happened accidentaly), the password from the "info" takes precendence. Unlike with earlier versions, where the password from the URL was always used.

Hmm, i wonder what is the correct behavior?

Regards,

Options: ReplyQuote


Subject
Written By
Posted
Re: Access denied when using mysql jdbc connector 3.1.8
April 16, 2005 09:17AM


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.