if no config file is provided use database.yaml