locate db details in the config file