// Open cmd with admintrastor and only use one command for /f "tokens=5" %a in ('netstat -aon ^| findstr 3306') do taskkill /PID %a /F & exit