diff --git a/src/Engines/MySql/Export/CommandAssembler.php b/src/Engines/MySql/Export/CommandAssembler.php index 56ac06d..0a9b297 100644 --- a/src/Engines/MySql/Export/CommandAssembler.php +++ b/src/Engines/MySql/Export/CommandAssembler.php @@ -57,6 +57,7 @@ private function getSingleCommand( "mysqldump --user=\"{$connection->getUser()}\"", "--password=\"{$connection->getPassword()}\"", "--single-transaction", + "--no-tablespaces", "--host={$connection->getHost()}", $connection->getDatabase(), implode(' ', $tables) diff --git a/src/Engines/MySql/Sandbox/Export.php b/src/Engines/MySql/Sandbox/Export.php index af99c1f..800bc60 100755 --- a/src/Engines/MySql/Sandbox/Export.php +++ b/src/Engines/MySql/Sandbox/Export.php @@ -104,7 +104,8 @@ private function assembleCommand(string $environmentName, array $ignoredTables): "mysqldump --user={$this->connection->getUser()}", "--password={$this->connection->getPassword()}", "--host={$this->connection->getHost()}", - "--port={$this->connection->getPort()}" + "--port={$this->connection->getPort()}", + "--no-tablespaces" ], $this->getIgnoredTables($ignoredTables))); $command .= " {$this->connection->getDatabase()} ";