What is maximum query size for mysql?
MysqlWampMysql Problem Overview
What is maximum query size for mysql? Some times the server stops working when I fire a too long query.
Mysql Solutions
Solution 1 - Mysql
You can check your current server setting with:
SHOW VARIABLES LIKE 'max_allowed_packet';
This gives you the answer in bytes. for e.g max_allowed_packet=1048576
or 1 MiB
Solution 2 - Mysql
To increase the max_allowed_packet
, open
my.ini/my.cnf
under [mysqld]
section.
Once the change is done you would have to restart the server.