use db.properties to config db connection