File "ctl.bat"

Full path: E:/sites/Single15/tinmung2007/webroot/XAMMP/mysql/scripts/ctl.bat
File size: 596 B
MIME-type:
Charset: utf-8

Download   Open   Back

@echo off
rem START or STOP Services
rem ----------------------------------
rem Check if argument is STOP or START

if not ""%1"" == ""START"" goto stop


"D:\XAMMP\mysql\bin\mysqld" --defaults-file="D:\XAMMP\mysql\bin\my.ini" --standalone
if errorlevel 1 goto error
goto finish

:stop
cmd.exe /C start "" /MIN call "D:\XAMMP\killprocess.bat" "mysqld.exe"

if not exist "D:\XAMMP\mysql\data\%computername%.pid" goto finish
echo Delete %computername%.pid ...
del "D:\XAMMP\mysql\data\%computername%.pid"
goto finish


:error
echo MySQL could not be started

:finish
exit

PHP File Manager