In symfony2, doctrine2, I have a query which triggers an error :
Error \"1038 Out of sort memory, consider increasing server sort buffer size
T
You probably need to increase the buffer size of mysql in the /etc/mysql/my.cnf , set
/etc/mysql/my.cnf
sort_buffer_size to 256K