Xampp

Go to Xampp folder and open xampp-contro.exe in Administator mode. Click on Config on MySQL side and open my.ini . Search for “max_allowed_packet” and increase the limit.

Example :

max_allowed_packet=10M