I’ve never really had this error before but I am doing a rather large insert. How do I increase this setting? Also, how do I tell how much I am over what’s allowed? I tried looking up the error, but i’m not using Fogbugz. Any help would be awesome.
This is a windows installation of mysql.
How to fix this problem : change the value of the
max_allowed_packetvariable in the configuration of your MySQL server.How to know how much over what’s allowed you are : not sure, but I would say that checking the size (in bytes) or your
insertquery should give you an idea.For more informations, you should take a look at the following section of the MySQL manual : C.5.2.10. Packet too large.