diff --git a/Neos.Flow/Classes/Command/DatabaseCommandController.php b/Neos.Flow/Classes/Command/DatabaseCommandController.php index cfd59b6a07..1a9e435de8 100644 --- a/Neos.Flow/Classes/Command/DatabaseCommandController.php +++ b/Neos.Flow/Classes/Command/DatabaseCommandController.php @@ -134,18 +134,14 @@ protected function convertToCharacterSetAndCollation(string $characterSet, strin if ($outputPathAndFilename === null) { try { - $this->connection->beginTransaction(); foreach ($statements as $statement) { if ($verbose) { $this->outputLine($statement); } $this->connection->exec($statement); } - $this->connection->commit(); } catch (\Exception $exception) { - $this->connection->rollBack(); - $this->outputLine($exception->getMessage()); - $this->outputLine('[ERROR] The transaction was rolled back.'); + $this->outputLine('[ERROR] %s', [$exception->getMessage()]); } } else { file_put_contents($outputPathAndFilename, implode(';' . PHP_EOL, $statements) . ';');