Error 1558: Column count is wrong. Expected found. Created with MariaDB now running. Please use mysq

Error Code
SQLSTATE
Error
Description

1558

HY000

ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE

Column count of mysql.%s is wrong. Expected %d, found %d. Created with MariaDB %d, now running %d. Please use mysql_upgrade to fix this error.

Possible Causes and Solutions

Not upgrading properly

This error likely means an upgrade hasn't been performed properly, as one of the system tables does not match the expected size for the running release. mariadb-upgrade usually takes care of this. See Upgrading Between Major MariaDB Versions.

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?