set global max_allowed_packet = 2*1024*1024*10