diff --git "a/01-\345\220\257\345\212\250\346\236\266\350\256\276\347\216\257\345\242\203.bat" "b/01-\345\220\257\345\212\250\346\236\266\350\256\276\347\216\257\345\242\203.bat" index b664256f..9dfd934f 100644 --- "a/01-\345\220\257\345\212\250\346\236\266\350\256\276\347\216\257\345\242\203.bat" +++ "b/01-\345\220\257\345\212\250\346\236\266\350\256\276\347\216\257\345\242\203.bat" @@ -23,7 +23,7 @@ IF ERRORLEVEL 0 goto :RUNNING :NOTRUNNING rem ## Not shutdown using server_stop.bat hence delete file del ROEmulator\usr\local\apache2\logs\httpd.pid -del ROEmulator\usr\local\mysql\data\mysql_mini.pid +del ROEmulator\usr\local\mysql\data\%computername%.pid :NOTSTARTED set pass1=found @@ -88,7 +88,7 @@ rem ### Wait for MySQL to start echo MySQL 服务器正在启动中 ... :next2 home\admin\program\unidelay.exe -if NOT exist usr\local\mysql\data\mysql_mini.pid goto :next2 +if NOT exist usr\local\mysql\data\%computername%.pid goto :next2 echo. echo Apache 服务器已经运行在磁盘 %Disk%:\ [端口 8096] [http://127.0.0.1:8096] diff --git "a/03-\345\205\263\351\227\255\346\236\266\350\256\276\347\216\257\345\242\203.bat" "b/03-\345\205\263\351\227\255\346\236\266\350\256\276\347\216\257\345\242\203.bat" index f26c0875..99f09ecf 100644 --- "a/03-\345\205\263\351\227\255\346\236\266\350\256\276\347\216\257\345\242\203.bat" +++ "b/03-\345\205\263\351\227\255\346\236\266\350\256\276\347\216\257\345\242\203.bat" @@ -15,7 +15,7 @@ IF ERRORLEVEL 0 goto :RUNNING :NOTRUNNING rem ## Not shutdown using server_stop.bat hence delete files del ROEmulator\usr\local\apache2\logs\httpd.pid -del ROEmulator\usr\local\mysql\data\mysql_mini.pid +del ROEmulator\usr\local\mysql\data\%computername%.pid goto :ALREADYKILLED @@ -25,7 +25,7 @@ rem ## Get drive letter SET /P Disk=