diff --git a/src/Services/DatabaseTools/ORMDatabaseTool.php b/src/Services/DatabaseTools/ORMDatabaseTool.php index 2ec3369..2b304f1 100644 --- a/src/Services/DatabaseTools/ORMDatabaseTool.php +++ b/src/Services/DatabaseTools/ORMDatabaseTool.php @@ -171,7 +171,7 @@ protected function createDatabaseIfNotExists(): void // Unset url to avoid issue: // “An exception occurred in driver: SQLSTATE[HY000] [1049] Unknown database 'test'” - $tmpConnection = DriverManager::getConnection($params); + $tmpConnection = DriverManager::getConnection($params, $this->connection->getConfiguration()); $schemaManager = $tmpConnection->createSchemaManager();