3634
MySQLERRORNotableAccess ControlHIGH confidence
Authentication policy does not match required configuration
Production Risk
High — Non-compliant accounts cannot authenticate; mass access denial possible during policy rollout.
How to reproduce
trigger — this will error
trigger — this will error
-- Server has authentication_policy='caching_sha2_password,fido' but user uses only password
expected output
ERROR 3634 (HY000): Authentication policy mismatch for user 'user'@'%'.
Fix
Align user auth with policy
Align user auth with policy
ALTER USER 'user'@'%' ADD 2 FACTOR IDENTIFIED WITH authentication_fido;
Why this works
Adds the required second factor to comply with the server authentication policy.
What not to do
✕
Version notes
Sources
Official documentation ↗
MySQL 8.0 — 3634 ER_AUTHENTICATION_POLICY_MISMATCH
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev