http://www.phpchina.com/viewnews_11459.html 
、如果是以前导出的文件,导入的时候遇到错误:
  Got a packet bigger than ‘max_allowed_packet’ bytes
  or
  ERROR 1153 (08S01) at line 616: Got a packet bigger than ‘max_allowed_packet’ by
  tes
  就需要修改mysql的最大允许包大小了,编辑my.ini,在[mysqld]部分(不在这部分没用)添加一句:
  set-variable=max_allowed_packet=10485760
  重启mysql服务就可以了,我这里设置的是大约10M。