xxxxxxxxxx
for linux user's -> using lampp
->goto opt/lampp/etc/my.cnf ----- and change the below vales accordingly
max_allowed_packet=1000
innodb_log_file_size = 50M
xxxxxxxxxx
run this command in your mysql console.
set global net_buffer_length=1000000;
set global max_allowed_packet=1000000000;