Request for help understanding error message

voidengine - September 3, 2007 - 01:54

Anyone have insight into this error message? I get it when I update a field in my content type:

user warning: Got a packet bigger than 'max_allowed_packet' bytes query: UPDATE cache_views SET data =... (lots of data)

Thanks...

(no title)

cog.rusty - September 3, 2007 - 02:34

Thank you!

voidengine - September 3, 2007 - 03:19

That did the trick! I also found something here:http://drupal.org/node/121390.

Since I'm running MySQL using MAMP, my fix was to edit /applications/MAMP/binstartMysql.sh and add the flag:
-- max_allowed_packet=32M

Great tip!

hunthunthunt - January 15, 2008 - 17:11

I am running on MAMP also.

Note the space in the above will cause an error, should be:

--max_allowed_packet=32M

Just a note for others...

Caleb G - June 30, 2008 - 00:28

In addition to the correct from hunthunthunt - also be sure to place it before the ampersand at the end of the file. (in my first attempt at getting this to work, I didn't notice it there) :-)

~~~
HigherVisibility

 
 

Drupal is a registered trademark of Dries Buytaert.