Fixed MySQL options resetting.