Fixed MySQL failure