Skip to content

Commit

Permalink
mysql local db add delay
Browse files Browse the repository at this point in the history
  • Loading branch information
henri123lemoine committed Jul 27, 2023
1 parent 0fbb8fb commit 9256573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

echo "Waiting till mysql is available..."
while ! mysql -h 127.0.0.1 --user root --password=$ROOT_PASSWORD -e "SELECT 1" ; do
sleep 1
sleep 5
done

echo "Setting up database..."
Expand Down

0 comments on commit 9256573

Please sign in to comment.