# 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](https://github.com/mariadb-corporation/docs-server/blob/test/general-resources/clients-and-utilities/mariadb-upgrade.md) usually takes care of this. See [Upgrading Between Major MariaDB Versions](https://github.com/mariadb-corporation/docs-server/blob/test/general-resources/server-management/install-and-upgrade-mariadb/upgrading/upgrading-between-major-mariadb-versions.md).

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
