Skip to content

Instantly share code, notes, and snippets.

@kevin-coyle
Created February 29, 2016 22:10
Embed
What would you like to do?
is mysql up
until nc -z mysql 3306; do
echo "$(date) - waiting for database to be up..."
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment