Initial Commit
This commit is contained in:
20
database/mysql/mysql_uninstallservice.bat
Normal file
20
database/mysql/mysql_uninstallservice.bat
Normal file
@@ -0,0 +1,20 @@
|
||||
@echo off
|
||||
|
||||
if "%OS%" == "Windows_NT" goto WinNT
|
||||
|
||||
:Win9X
|
||||
echo Don't be stupid! Win9x don't know Services
|
||||
echo Please use mysql_stop.bat instead
|
||||
goto exit
|
||||
|
||||
:WinNT
|
||||
echo now stopping MySQL when it runs
|
||||
net stop mysql
|
||||
echo Uninstalling MySql-Service
|
||||
bin\mysqld.exe --remove mysql
|
||||
if not exist %windir%\my.ini GOTO exit
|
||||
echo Remove %windir%\my.ini
|
||||
del %windir%\my.ini
|
||||
|
||||
:exit
|
||||
pause
|
||||
Reference in New Issue
Block a user