MySQL is installed on Windows?
Start the Windows PowerShell as administrator and type the following code and hit enter.
$service_path = Get-WmiObject win32_service | ?{$_.Name -like '*mysql*'} | Select-Object -Property PathName -First 1 | Format-Table -HideTableHeaders | Out-String; $service_path.split('"')| Where-Object {$_ -like "*mysqld.exe*"} | %{$_.replace('mysqld.exe','').trim() }