Skip to content

Commit e5bfb69

Browse files
Ignore tablespaces in dump (#39126)
Less likely to hit permissions issues in newer versions of MySQL
1 parent a683198 commit e5bfb69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Schema/MySqlSchemaState.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function load($path)
8585
*/
8686
protected function baseDumpCommand()
8787
{
88-
$command = 'mysqldump '.$this->connectionString().' --skip-add-locks --skip-comments --skip-set-charset --tz-utc';
88+
$command = 'mysqldump '.$this->connectionString().' --no-tablespaces --skip-add-locks --skip-comments --skip-set-charset --tz-utc';
8989

9090
if (! $this->connection->isMaria()) {
9191
$command .= ' --column-statistics=0 --set-gtid-purged=OFF';

0 commit comments

Comments
 (0)