SHOW VARIABLES LIKE '%max_allowed_packet%';

set global max_allowed_packet = 2*1024*1024*1000