MySQL v5 is not supported in Strapi v5 anymore
In Strapi v5, MySQL version 5 is not supported.
This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi v5.
Breaking change description
In Strapi v4
MySQL v5 was supported.
In Strapi v5
MySQL v5 is not supported anymore.
MySQL v8 is the minimum required version (see CLI installation guide).
Migration
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).