Reapply "Merge remote-tracking branch 'origin/support/3.1' into support/3.2"

This reverts commit 3233b9776f.
This commit is contained in:
Timothee
2024-06-19 09:47:48 +02:00
parent e5a60beba0
commit 2a3516d593
3 changed files with 119 additions and 5 deletions

View File

@@ -1297,6 +1297,12 @@ EOF
$aResult['checks'][] = new CheckResult(CheckResult::INFO, "MySQL server's max_connections is set to $iMaxConnections.");
}
$iClusters = $oDBSource->GetClusterNb();
if ($iClusters > 0) {
SetupLog::Warning('Warning - Galera can lead to malfunctions and data corruption. Combodo does not support this type of infrastructure.');
$aResult['checks'][] = new CheckResult(CheckResult::WARNING, 'Galera can lead to malfunctions and data corruption. Combodo does not support this type of infrastructure.');
}
try {
$aResult['databases'] = $oDBSource->ListDB();
}
@@ -1412,6 +1418,8 @@ EOF
public static function AsyncCheckDB($oPage, $aParameters)
{
SetupPage::log('Info - CheckDB');
$sDBServer = $aParameters['db_server'];
$sDBUser = $aParameters['db_user'];
$sDBPwd = $aParameters['db_pwd'];