[CLI] Fix MySQL check in database dumper (#4897)

This commit is contained in:
JJ
2025-05-16 19:56:38 -04:00
committed by GitHub
parent 5b728a42f7
commit eb366e67b7
+1 -1
View File
@@ -50,7 +50,7 @@ bool DatabaseDumpService::IsMySQLInstalled()
{
std::string version_output = GetMySQLVersion();
return version_output.find("mysql") != std::string::npos && version_output.find("Ver") != std::string::npos;
return version_output.find("mysql") != std::string::npos && (version_output.find("Ver") != std::string::npos || version_output.find("from") != std::string::npos);
}
/**