max_allowed_packetis a MySQL variable. If you wanto to increase
max_allowed_packet, you can use the SQL statement below.
First step is to check the current size of
SHOW VARIABLES LIKE 'max_allowed_packet';
Next step is to set
max_allowed_packet – in this case to 16MB:
SET GLOBAL max_allowed_packet=16777216;
max_allowed_packet has been changed.