1. Update the config file: my.ini
C:\Program Files\MySQL\MySQL Server 5.1\my.ini
Add the following lines
#
attachment size
max_allowed_packet = 4M
max_allowed_packet = 4M
2. restart mysql service
1. Update the config file: my.ini
C:\Program Files\MySQL\MySQL Server 5.1\my.ini
Add the following lines
2. restart mysql service
转载于:https://www.cnblogs.com/allenblogs/archive/2010/10/19/1855676.html