how to increase max_allowed_packet in mysql code example Example: show max_allowed_packet mysql SHOW VARIABLES LIKE 'max_allowed_packet';