Mysql Max_allowed_packet

Many of the answerers spotted the issue and already gave the solution.

I just want to suggest another solution, which is changing the Glogal variable value from within the tool Mysql Workbench.That is ofcourse IF you use Workbench running locally on server(or via SSH connection)

You just connect to your instance and go on menu:

  Server - > Options File - > Networking - > max_allowed_packed

You set the desired value and then you need to restart MySql Service.