Increase --max-allowed-packet to 1073741824 (1GB)