Fix timeout of mysql