Error "1038 Out of sort memory, consider increasing sort buffer size

后端 未结 4 1131

In symfony2, doctrine2, I have a query which triggers an error :

Error \"1038 Out of sort memory, consider increasing server sort buffer size

T

4条回答
  •  忘了有多久
    2021-02-13 12:21

    If you are using the docker mysql container add the follow setting in docker-compose.yml:

    db:
        image: mysql:8
        command: --sort_buffer_size=512K
    

提交回复
热议问题