N°8638 - Adapt mysqldump calls to follow iTop SSL configuration

This commit is contained in:
Benjamin DALSASS
2026-04-13 15:19:33 +02:00
parent b799be3cb7
commit f049a364bd
2 changed files with 3 additions and 1 deletions

View File

@@ -1592,6 +1592,8 @@ class CMDBSource
if (static::GetDBVendor() === static::ENUM_DB_VENDOR_MYSQL) {
//Mysql 5.7.0 and upper deprecated --ssl and uses --ssl-mode instead
return version_compare(static::GetDBVersion(), '5.7.11', '>=');
} elseif (static::GetDBVendor() === static::ENUM_DB_VENDOR_MARIADB) {
return version_compare(static::GetDBVersion(), '10.2.6', '>=');
}
return false;
}