1. Nick Raptis
  2. SQLerg

Source

SQLerg / xampp / mysql_stop2.bat

@echo off
echo Mysql shutdowm ...
apache\bin\pv -f -k mysqld.exe -q

if not exist mysql\data\%computername%.pid GOTO exit
echo Delete %computername%.pid ...
del mysql\data\%computername%.pid

:exit
pause