Wait for MySQL to start