update mysql module notice and throw as an exception