Skip to content
Snippets Groups Projects
Commit 2d17454c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Comand sleep is not a windows command.

parent d9afe94c
No related branches found
No related tags found
No related merge requests found
......@@ -10,12 +10,14 @@ REM GRANT ALL ON *.* TO login@localhost IDENTIFIED BY "newpassword"
REM echo ---- Show content of script mysqlinitpassword before running it >> doliwamp.log 2>>&1
REM type .\mysqlinitpassword.bat >> doliwamp.log 2>>&1
sleep 3
REM sleep 20
REM Wait the mysql init by first startup is ok
REM sleep is not a windows command
REM sleep 5
ping 1.1.1.1 -n 1 -w 5000 > nul
echo ---- Execute mysqlinitpassword.bat to init mysql password >> doliwamp.log 2>>&1
echo For a first installation, if an error is shown here, rerun the script manually. >> doliwamp.log 2>>&1
echo For an update, you will get an "Acces denied" error, ignore this error. >> doliwamp.log 2>>&1
echo For an update, you will get an "Access denied" error, ignore this error. >> doliwamp.log 2>>&1
.\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysqladmin -v -w6 -P WAMPMYSQLPORT -u root password WAMPMYSQLNEWPASSWORD >> doliwamp.log 2>>&1
echo ---- End script >> doliwamp.log 2>>&1
......
......@@ -13,4 +13,6 @@ NET START doliwampmysqld >> doliwamp.log 2>>&1
echo Please wait...
echo ---- End script >> doliwamp.log 2>>&1
sleep 1
REM sleep is not a Windows commande
REM sleep 1
ping 1.1.1.1 -n 1 -w 1000 > nul
\ No newline at end of file
......@@ -13,4 +13,6 @@ NET STOP doliwampmysqld
echo Please wait...
echo ---- End script >> doliwamp.log 2>>&1
sleep 1
\ No newline at end of file
REM sleep is not a Windows command
REM sleep 1
ping 1.1.1.1 -n 1 -w 1000 > nul
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment