flattened dialects dir and register db dialect for assocaited registered driver