3631
MySQLERRORNotableAccess ControlHIGH confidence
MFA method not registered
Production Risk
High — Authentication fails for the affected user.
How to reproduce
trigger — this will error
trigger — this will error
-- Login attempt with unregistered MFA method
expected output
ERROR 3631 (HY000): MFA method is not registered for user.
Fix
Register the MFA method
Register the MFA method
ALTER USER 'user'@'%' MODIFY 2 FACTOR IDENTIFIED WITH authentication_ldap_sasl;
Why this works
Registers the specified plugin as the second authentication factor.
What not to do
✕
Version notes
Sources
Official documentation ↗
MySQL 8.0 — 3631 ER_MFA_METHOD_NOT_REGISTERED
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev