java hide mysql login credentials

Solutions on MaxInterview for java hide mysql login credentials by the best coders in the world

showing results for - "java hide mysql login credentials"
Len
21 Feb 2017
1 /resources/dbconfig.propreties/
2
Ignacio
19 Nov 2016
1 private ResourceBundle reader = null;
2 try{ 
3     reader = ResourceBundle.getBundle("dbconfig.properties");
4     Connection conn=DriverManager.getConnection(reader.getString("db.url"),reader.getString("db.username"),reader.getString("db.password"));
5 }catch(Exception e){
6}
7
Etienne
07 Feb 2016
1 #DB Properties
2 db.driver="driverclassname"
3 db.url=jdbc:mysql://localhost:3306/YOURDBNAME
4 db.username=USERNAME
5 db.password=PASSWORD
6