Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Setup/Backup): fix my.cnf syntax
Browse files Browse the repository at this point in the history
... for mysqldump 8
  • Loading branch information
pschuele committed Sep 15, 2021
1 parent 6cd2518 commit e672726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tine20/Setup/Backend/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ protected function _createMyConf($path, $config)
$version = exec('mysqldump --version');
// TODO find out about version 9+
if (preg_match('/Ver 8/', $version)) {
$mycnfData .= '[mysqldump]
column-statistics=0';
$mycnfData .= "\n[mysqldump]
column-statistics=0\n";
}

file_put_contents($path, $mycnfData);
Expand Down

0 comments on commit e672726

Please sign in to comment.