Wait for MySQL availability on deploy