throws sensible error message if no database is specified in config.yml