File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ if !errorlevel! neq 0 (
107107)
108108
109109echo ⏳ Waiting for installation to complete...
110- timeout /t 3 /nobreak
110+ ping -n 3 127.0.0.1
111111
112112:: Clean up temporary ini files
113113del " *.ini" /q
@@ -124,7 +124,7 @@ call :configure_timezone "%db_dir%" "%VERSION%"
124124if !errorlevel! neq 0 exit /b 1
125125
126126echo ⏳ Waiting for timezone configuration to complete...
127- timeout /t 3 /nobreak
127+ ping -n 3 127.0.0.1
128128
129129:: Execute main installation SQL
130130echo 🔧 Running main installation script...
@@ -214,7 +214,7 @@ echo 🚀 Starting database server for %operation%...
214214start " MySQL_%version% _%operation% " bin\mysqld.exe --defaults-file=" %db_dir% \my.ini" %DB_STARTUP_PARAMS%
215215
216216echo ⏳ Waiting for server to start...
217- timeout /t 5 /nobreakl
217+ ping -n 5 127.0.0.1
218218
219219if " %sql_file% " neq " " (
220220 echo 📜 Executing %operation% SQL...
@@ -226,7 +226,7 @@ if "%sql_file%" neq "" (
226226
227227echo 🛑 Shutting down database server...
228228bin\mysqladmin.exe --protocol=PIPE --socket=%version% --host=" " -u root shutdown
229- timeout /t 5 /nobreak
229+ ping -n 5 127.0.0.1
230230
231231if !sql_result! neq 0 (
232232 echo ❌ ERROR: %operation% execution failed
You can’t perform that action at this time.
0 commit comments