Since max_allowed_packed is set too small, while the insert data due to too many errors, to modify the value of the recovery max_allowed_packed, can be modified to 50M.
1.
Add or modify the following variables in my.ini (my.cnf) files:
max_allowed_packet = 50M
max_allowed_packet function is used to control the maximum length of the communication buffer.
2.
command:
// Check the current size of max_allowed_packet
show global variables like 'max_allowed_packet';
// modify the size of max_allowed_packet
set global max_allowed_packet=1024*1024*50;