Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/xampp/mysql/scripts/ |
@echo off rem START or STOP Services rem ---------------------------------- rem Check if argument is STOP or START if not ""%1"" == ""START"" goto stop "C:\xampp\mysql\bin\mysqld" --defaults-file="C:\xampp\mysql\bin\my.ini" --standalone if errorlevel 1 goto error goto finish :stop cmd.exe /C start "" /MIN call "C:\xampp\killprocess.bat" "mysqld.exe" if not exist "C:\xampp\mysql\data\%computername%.pid" goto finish echo Delete %computername%.pid ... del "C:\xampp\mysql\data\%computername%.pid" goto finish :error echo MySQL could not be started :finish exit