select * from strapi_database_schema
order by time
DESC limit 1 - Out of sort memory, consider increasing server sort buffer size
#20312
Labels
issue: bug
Issue reporting a bug
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
source: core:database
Source is core/database package
status: pending reproduction
Waiting for free time to reproduce the issue, or more information
Bug report
Hi, I found this error after the schema column in the strapi_database_schema table reached 262kb.
Required System information
Strapi Version: You can reproduce this bug using Strapi versions from 4.5.0 to 4.24.2.
Database: Mysql 8
Node Versione: 16,18,20
NPM: 6.0
OS: Ubuntu 20.04
Project: Javascript
Describe the bug
I encountered this error when I added many collections, resulting in the schema column in the strapi_database_schema table reaching a size of 262kb. When I attempted to start the server using the command:
I receive the error:
I attempted to resolve the issue by adding a simple index key to the schema column, but it did not work in any case.
Steps to reproduce the behavior
Expected behavior
The error:
should not appear; otherwise, the Strapi instance will not start.
The text was updated successfully, but these errors were encountered: