Add until to hopefully stop race condition

master
andryyy 2017-06-12 23:49:21 +02:00
parent a33aa7a2cb
commit 35a73025c7
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#!/bin/bash
until mysqladmin ping --host mysql --silent; do
sleep 1
done
# Wait for MySQL to warm-up
while mysqladmin ping --host mysql --silent; do