# MySQL v5 unsupported

> Source: https://docs.strapi.io/cms/migration/v4-to-v5/breaking-changes/mysql5-unsupported

MySQL v5 is no longer supported in Strapi v5; MySQL v8 is now the minimum required version. Upgrade your MySQL database to v8.0 to use Strapi v5.

In Strapi 5, MySQL version 5 is not supported.

This page is part of the [breaking changes database](/cms/migration/v4-to-v5/breaking-changes) and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.

- Is this breaking change affecting plugins? No
- Is this breaking change automatically handled by a codemod? No

## Breaking change description

**In Strapi v4**

MySQL v5 is supported.

**In Strapi 5**

MySQL v5 is not supported anymore.<br />
MySQL v8 is the minimum required version.

<br />

## Migration

This section regroups useful notes and procedures about the introduced breaking change.

### Notes

* The [CLI installation guide](/cms/installation/cli) lists the databases supported by Strapi 5.
* Please also consider that only the `mysql2` package can be used with Strapi 5 for MySQL databases (see the [related breaking change entry](/cms/migration/v4-to-v5/breaking-changes/only-mysql2-package-for-mysql)).

### Migration procedure

No manual migration is required for the codebase of your Strapi application.
Connection information will probably stay the same as in Strapi v4.

However, to use Strapi v5, you must upgrade your MySQL database to version 8.0 (see additional information in the official [MySQL documentation](https://dev.mysql.com/doc/relnotes/mysql/8.0/en/)).
