Skip to content

Commit e7b139c

Browse files
committed
Look also for mariadbd.exe when looking for mariadb service.
1 parent 8cb3060 commit e7b139c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/winservice.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ int get_mysql_service_properties(const wchar_t *bin_path,
176176

177177
if(wcsicmp(file_part, L"mysqld.exe") != 0 &&
178178
wcsicmp(file_part, L"mysqld-debug.exe") != 0 &&
179-
wcsicmp(file_part, L"mysqld-nt.exe") != 0)
179+
wcsicmp(file_part, L"mysqld-nt.exe") != 0 &&
180+
wcsicmp(file_part, L"mariadbd.exe") != 0)
180181
{
181182
/* The service executable is not mysqld. */
182183
goto end;

0 commit comments

Comments
 (0)