Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 01-启动架设环境.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions 03-关闭架设环境.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -25,7 +25,7 @@ rem ## Get drive letter
SET /P Disk=<ROEmulator\usr\local\apache2\logs\drive.txt

rem ## Remove pid file server was closed
del ROEmulator\usr\local\mysql\data\mysql_mini.pid
del ROEmulator\usr\local\mysql\data\%computername%.pid

rem ## Kill MySQL server
ROEmulator\usr\local\mysql\bin\mysqladmin.exe --port=3306 --user=root --password=root shutdown
Expand Down
1 change: 0 additions & 1 deletion ROEmulator/usr/local/mysql/my.cnf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[mysqld]
skip-host-cache
skip-name-resolve
default_authentication_plugin=mysql_native_password
character-set-server=gbk


Expand Down