According to the configuration file, mysql will limit the size of the packets accepted by the server.
Sometimes large inserts and updates are limited by the max_allowed_packet parameter and fail.
View the current configuration
show VARIABLES like '%max_allowed_packet%';
This is my modified version to support 20M data transfer.
Modification method:
My MySQL version is 5.0
Find the my.ini file in the mysql installation directory and add a line at the end:
max_allowed_packet = 20M (this value is set as needed)