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

后端 未结 4 1122

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:29

    You probably need to increase the buffer size of mysql in the /etc/mysql/my.cnf , set

    sort_buffer_size to 256K
    

提交回复
热议问题