# MySQL 8.0 - 8.4 Upgrade Notes (mysql\_native\_password)

**URL:** https://community.xibo.org.uk/t/mysql-8-0-8-4-upgrade-notes-mysql-native-password/36959
**Category:** The Xibo CMS
**Created:** [January 21, 2026, 12:55pm UTC](https://community.xibo.org.uk/t/mysql-8-0-8-4-upgrade-notes-mysql-native-password/36959 "2026-01-21T12:55:57Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)
#### Post date: [January 21, 2026, 12:55pm UTC](https://community.xibo.org.uk/t/mysql-8-0-8-4-upgrade-notes-mysql-native-password/36959/1 "2026-01-21T12:55:57Z")

</div>

Xibo 4.4.0 releases with MySQL 8.4 by default.

If you’re upgrading from an earlier version of Xibo, particularly if you previously upgraded from Xibo 3.x to 4.x, then you should check that the passwords for the users in the MySQL database are in the correct format before upgrading to Xibo 4.4.0 (and therefore MySQL 8.4).

All the commands below assume you are using the standard docker-compose.yml file. If you’re using one of the alternatives, then be sure to add `-f` switch in the normal way - as you would if you were starting or stopping the containers.

From a console inside your Xibo installation directory, run the following command - this will briefly interrupt service to your CMS:

```bash
cd /opt/xibo # This is typically the installation location
docker-compose restart cms-db
docker-compose logs -f cms-db | grep mysql_native_password

```

Wait a few seconds for MySQL to fully start and see if a line that looks like this is logged:

```auto
cms-db_1 | 2025-12-22T08:13:46.262728Z 9 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'

```

If it is, then you will need to follow the process below to reset the password for the `cms` user in the database before upgrading.

If that is not logged, then you can continue to upgrade Xibo to v4.4 and MySQL 8.4 in the normal way.

## Switching to caching\_sha2\_password

In order to switch the password for the `cms` user to the new format for MySQL 8.4, follow the instructions in this guide:

> [@MySQL logs "Please use caching\_sha2\_password instead" after upgrade to MySQL 8.0/Xibo 4](https://community.xibo.org.uk/t/mysql-logs-please-use-caching-sha2-password-instead-after-upgrade-to-mysql-8-0-xibo-4/30689):
>
> When you upgrade a self-hosted installation from MySQL 5.7 to MySQL 8.0 as part of the upgrade to Xibo version 4, you may find the following logged in your MySQL logs repeatedly. [Warning] [MY-013360] [Server] Plugin mysql\_native\_password reported: ‘‘mysql\_native\_password’ is deprecated and will be removed in a future release. Please use caching\_sha2\_password instead’ The following will update the user record for your cms database user to use the newer password format and clear the warning. …

## I upgraded to MySQL 8.4 or Xibo 4.4.x without doing these checks and now I have an error

If you upgraded to Xibo 4.4.x without resolving the issue, you will likely have in the logs an error like:

```auto
Fatal Error - sorry this shouldn't happen.
SQLSTATE[HY000] [1524] Plugin 'mysql_native_password' is not loaded

```

To recover, follow the steps in the guide above, but substitute the MySQL image in the `docker run` command for MySQL 8.4:

```bash
docker run --rm -ti -v /opt/xibo/shared/db:/var/lib/mysql mysql:8.4 bash

```

and then complete the rest of the article as written. Then restart the `cms-web` container to complete the Xibo part of the upgrade.

```bash
docker-compose restart cms-web

```

---

_[View the full topic](https://community.xibo.org.uk/t/mysql-8-0-8-4-upgrade-notes-mysql-native-password/36959)._
