MySQL 客户端仅支持 mysql2 包
🌐 Only the mysql2 package is supported for the MySQL client
Page summary:Strapi 5 仅支持 MySQL 数据库的
mysql2包,并且要求将client配置选项设置为mysql。🌐 Strapi 5 only supports the
mysql2package for MySQL databases and requires theclientconfiguration option to be set tomysql.
Strapi 5 只能对 MySQL 数据库使用 mysql2 包,并且其 client 值必须设置为 mysql。
🌐 Strapi 5 can only use the mysql2 package for MySQL databases, and the client value for it must be set to mysql.
此页面是重大更改数据库的一部分,提供关于重大更改的信息以及从 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?Yes