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

This commit is contained in:
JJ authored and GitHub committed 2025-05-16 18:56:38 -05:00
1 parent 5b728a42f7
commit eb366e67b7
1 file changed
+1 -1
+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);
}
/**