← Back to team overview

maria-developers team mailing list archive

doubt, Got a packet bigger than 'max_allowed_packet' bytes - 1153

 

Hi guys, i'm with a doubt now...
using the php extension of mysql
i got this error Got a packet bigger than 'max_allowed_packet' bytes - 1153
the point is... should the client api change the packet to a size smaller
than max limit?
or should i set the max_allowed_packet at server side?
this variable have some memory problem if changed to a big value?
today i'm using 1MB, but i don't know if i change for example to 1024MB i
could break the server, does the max_allowed_packet just a limit, or a
malloc parameter to alloc memory at each packet?

-- 
Roberto Spadim
SPAEmpresarial

Follow ups