We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a525c2 + cf3da85 commit 143f786Copy full SHA for 143f786
src/Commands/ImportEnvironmentCommand.php
@@ -325,7 +325,9 @@ protected function getDatabaseDumpClient(bool $local = false): MySql
325
->setUserName($local ? DB::getConfig('username') : $this->getEnvironmentConfigValue('db_username'))
326
->setPassword($local ? DB::getConfig('password') : $this->getEnvironmentConfigValue('db_password'))
327
->setPort($port)
328
- ->setDumpBinaryPath($this->getConfigValue('db_dump_binary_path', '/usr/bin'));
+ ->setDumpBinaryPath($this->getConfigValue('db_dump_binary_path', '/usr/bin'))
329
+ // Disable column statistics to prevent issues with older MySQL or MariaDB versions.
330
+ ->addExtraOption('--column-statistics=0');
331
}
332
333
/**
0 commit comments