N°2018 Backup : fix version check for MySQL8

Now uses \CMDBSource::GetDBVersion instead of mysqldump -V
This commit is contained in:
Pierre Goiffon
2019-07-16 15:26:36 +02:00
parent e712791f43
commit 073b1cd303
2 changed files with 14 additions and 31 deletions

View File

@@ -447,6 +447,8 @@ class ApplicationInstaller
{
$oBackup->SetMySQLBinDir($sMySQLBinDir);
}
CMDBSource::InitFromConfig($oConfig);
$oBackup->CreateCompressedBackup($sTargetFile, $sSourceConfigFile);
}