Re: mySQL JDBC connectiion using wallet
Posted by: Todd Farmer
Date: May 14, 2015 11:40AM

Hi Ajay,

I'm sorry if I was unclear - Connector/Java does not have an option to read from .mylogin.cnf file. COnnector/Java supports connections which take a java.util.Properties argument, which can be generated from a file:

There are third-party tools which allow these properties files to be encrypted:

Like the .mylogin.cnf file, you could simply apply OS file-system protection to the .properties file.

Hope that helps!

Todd Farmer
MySQL @ Oracle

Options: ReplyQuote

Written By
Re: mySQL JDBC connectiion using wallet
May 14, 2015 11:40AM

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.