What is the maximum query size for mysql? Several times the server stops working when I run a request that is too long.
You can check your current server using
SHOW VARIABLES LIKE 'max_allowed_packet';
This gives you the answer in bytes. e.g. max_allowed_packet=1048576 or 1mb
max_allowed_packet=1048576
1mb
To increase max_allowed_packet , open
max_allowed_packet
my.ini/my.cnf in the [mysqld] section.
my.ini/my.cnf
[mysqld]
Once the change is complete, you will have to restart the server.