3246
MariaDBWARNINGNotableSchema / DDLHIGH confidence

mysql.user table has old-length column

Production Risk

Medium — authentication or privilege operations may behave unexpectedly.

How to reproduce
trigger — this will error
trigger — this will error
-- Observed during server startup or privilege operations on un-upgraded servers.

expected output

Warning 3246: Column 'authentication_string' in mysql.user has old definition.

Fix

Run mysql_upgrade

Run mysql_upgrade
-- Shell: mysql_upgrade -u root -p

Why this works

mysql_upgrade updates system tables including mysql.user column definitions.

What not to do

Sources
Official documentation ↗

MySQL 8.0 — 3246 ER_USER_COLUMN_OLD_LENGTH

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

← All MariaDB errors