laravel-commando
laravel-commando copied to clipboard
--no-tablespaces required in recent MySQL update
Breaking change introduced in minor MySQL update, use --no-tablespaces option in mysqldump from now on (recommended) or add the global PROCESS privilege to the user running the command.
DbDumpCommand::handle() should now add "--no-tablespaces" flag to the command to finally look something like this:
$command = "mysqldump --no-tablespaces -h $host -u$user -p$password $database $removeDefiner $removeDbPrefix > $destination";