get db setting from properties file