I have recently been getting max_allowed_packets errors. I figured it was just a typically MySQL config issue, with a simple tweak to my.cnf.
I checked my my.cnf and found that max_allowed_packet was set to 256M, much higher than the recommended 18M.
What could be causing this? It happened after enabling a module on my Drupal site.
The error is giant (several scroll length) and starts with "user warning: Got a packet bigger than 'max_allowed_packet' bytes query: UPDATE cache_update SET data =....."
See previous thread dealing with issue (#1153 - Got a packet bigger than 'max_allowed_packet' bytes on database import)


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks