3413
MariaDBWARNINGCriticalAccess ControlHIGH confidence

User account renamed to deprecated form

Production Risk

Low — informational warning only; account is created.

How to reproduce
trigger — this will error
trigger — this will error
CREATE USER 'oldstyle_user';

expected output

Warning 3413: User name normalized to deprecated form.

Fix

Use fully qualified username@hostname

Use fully qualified username@hostname
CREATE USER 'user'@'localhost'; CREATE USER 'user'@'%';

Why this works

Explicit host part avoids ambiguity and future compatibility issues.

What not to do

Sources
Official documentation ↗

MySQL 8.0 — 3413 ER_WARN_RENAMED_USER_TO_DEPRECATED_FORM

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

← All MariaDB errors