Skip to main content

MySQL v5 在 Strapi v5 中不再受支持

🌐 MySQL v5 is not supported in Strapi v5 anymore

在 Strapi 5 中,不支持 MySQL 5 版本。

此页面是重大更改数据库的一部分,提供关于重大更改的信息以及从 Strapi v4 迁移到 Strapi 5 的附加说明。

🌐 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 5.

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

重大变更描述

🌐 Breaking change description

在 Strapi v4 中

支持 MySQL v5。

🌐 MySQL v5 is supported.

在 Strapi 5 中

MySQL v5 不再受支持。
MySQL v8 是最低所需版本。


迁移

🌐 Migration

本节重新组合了有关引入的重大更改的有用说明和程序。

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

注意

🌐 Notes

迁移程序

🌐 Migration procedure

你的 Strapi 应用的代码库不需要手动迁移。连接信息可能会与 Strapi v4 中保持相同。

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

然而,要使用 Strapi v5,你必须将 MySQL 数据库升级到 8.0 版本(更多信息请参见官方 MySQL documentation)。