Use confif.database_name if present