Skip to content

Instantly share code, notes, and snippets.

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