Bug 1017642: Wait for mysql to start before accesing during restore