3628
MySQLERRORNotableAccess ControlHIGH confidence
Authentication factor mismatch
Production Risk
High — Authentication fails; user cannot connect.
How to reproduce
trigger — this will error
trigger — this will error
-- Client sends factor 2 credentials when factor 1 is expected
expected output
ERROR 3628 (HY000): Authentication factor mismatch.
Fix
Verify MFA configuration
Verify MFA configuration
SHOW CREATE USER 'user'@'%';
Why this works
Displays the full MFA factor configuration so order and plugins can be verified.
What not to do
✕
Version notes
Sources
Official documentation ↗
MySQL 8.0 — 3628 ER_AUTHENTICATION_FACTOR_MISMATCH
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev