authentication to MySQL

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hi, i have one problem with l'authentication to the MySQL;
I am using the language Java and i access to the data-base in following

db = DriverManager.getConnection("jdbc:mysql://localhost:3306/" +
nomeDB + "?user=" + nomeUtente + "&password=" + pwdUtente);

but I do not want insert pwdUtente and nomeUtente in the source-code,
What can i do?

Thanks,  Maria cascone

Site Timeline