3626
MySQLERRORNotableAccess ControlHIGH confidence

Multi-factor authentication not supported by this plugin

Production Risk

Low — ALTER USER fails; existing authentication is unchanged.

How to reproduce
trigger — this will error
trigger — this will error
ALTER USER 'user'@'%' ADD 2 FACTOR IDENTIFIED WITH incompatible_plugin;

expected output

ERROR 3626 (HY000): Multi-factor authentication is not supported by plugin 'incompatible_plugin'.

Fix

Use an MFA-compatible plugin

Use an MFA-compatible plugin
ALTER USER 'user'@'%' ADD 2 FACTOR IDENTIFIED WITH authentication_fido;

Why this works

Assigns a supported MFA plugin as the second authentication factor.

What not to do

Version notes

Sources
Official documentation ↗

MySQL 8.0 — 3626 ER_MULTIPLE_FACTOR_AUTHENTICATION_NOT_SUPPORTED

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All MySQL errors