wait for mysql startup by ping

Change-Id: I4ec8b9ec78e151e6caa4fccaa634ea83c69c85db
Signed-off-by: Zhiguang Li <muzili@gmail.com>