Got a packet bigger than max_allowed_packet

 Also, change the my.cnf or my.ini file (usually found in /etc/mysql/) or(C:\xampp\mysql\bin\) under the mysqld section and set:


max_allowed_packet=100M

or you could run these commands in a MySQL console connected to that same server:


set global net_buffer_length=1000000; 

set global max_allowed_packet=1000000000;

Comments

Popular posts from this blog

Add Css And Js Files on Specific Page In laravel

Xpendy Pending

Laravel Join with two coloums