Skip to content

Instantly share code, notes, and snippets.

Created February 29, 2016 22:10
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment