get database configuration value from config.yml