wait for mysql