Skip to content

Commit b9e0063

Browse files
committed
Update genmariadb.bat
1 parent a9ab475 commit b9e0063

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

generate/genmariadb.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ if !errorlevel! neq 0 (
107107
)
108108

109109
echo ⏳ 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
113113
del "*.ini" /q
@@ -124,7 +124,7 @@ call :configure_timezone "%db_dir%" "%VERSION%"
124124
if !errorlevel! neq 0 exit /b 1
125125

126126
echo ⏳ 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
130130
echo 🔧 Running main installation script...
@@ -214,7 +214,7 @@ echo 🚀 Starting database server for %operation%...
214214
start "MySQL_%version%_%operation%" bin\mysqld.exe --defaults-file="%db_dir%\my.ini" %DB_STARTUP_PARAMS%
215215

216216
echo ⏳ Waiting for server to start...
217-
timeout /t 5 /nobreakl
217+
ping -n 5 127.0.0.1
218218

219219
if "%sql_file%" neq "" (
220220
echo 📜 Executing %operation% SQL...
@@ -226,7 +226,7 @@ if "%sql_file%" neq "" (
226226

227227
echo 🛑 Shutting down database server...
228228
bin\mysqladmin.exe --protocol=PIPE --socket=%version% --host="" -u root shutdown
229-
timeout /t 5 /nobreak
229+
ping -n 5 127.0.0.1
230230

231231
if !sql_result! neq 0 (
232232
echo ❌ ERROR: %operation% execution failed

0 commit comments

Comments
 (0)