Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9036821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T09:05:35+00:00 2026-06-16T09:05:35+00:00

I´ve just moved my Drupal site to a new managed VPS. Each time I

  • 0

I´ve just moved my Drupal site to a new managed VPS.

Each time I try to run cron, I get this nasty error:

Warning: Got a packet bigger than ‘max_allowed_packet’ bytes query:
INSERT INTO watchdog (uid, type, message, variables, severity, link,
location, referer, hostname, timestamp) VALUES (1, ‘php’, ‘%message in
%file on line %line.’, ‘a:4:{s:6:\”%error\”;s:12:\”user
warning\”;s:8:\”%message\”;s:1582172:\”Got a packet bigger than
'max_allowed_packet' bytes\nquery: UPDATE cache_update SET
data =
'a:72:{s:10:\"admin_menu\";a:10:{s:5:\"title\";s:19:\"Administration
menu\";s:10:\"short_name\";s:10:\"admin_menu\";s:10:\"dc:creator\";s:3:\"sun\";s:11:\"api_version\";s:3:\"6.x\";s:17:\"recommended_major\";s:1:\"1\";s:16:\"supported_majors\";s:3:\"1,3\";s:13:\&qu
in /home/drupal/includes/database.mysql.inc on line 135

The thing is that I´ve set max_allowed_packet to 64, then 100, then 250 and then 512!!!
And still gives me that error.

That error seems to be related to the admin_menu module, but even after disabling that module, the error is still there (referencing other module) and after disabling that other module, the error is still there, and so on an on.

It seems that the problem is related to the mySQL table “cache_update” but I can´t understand what´s going on. Even after searching Drupal forums, I couldn´t manage to get to the problem. Just found some ways hacking core, wich isn´t good.

I think this is a mysql specific issue, so that´s why I´m posting this here.

Thanks for your insight!

Rosamunda

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T09:05:37+00:00Added an answer on June 16, 2026 at 9:05 am

    Few things to consider:

    1. Are you sure that the syntax of max_allowed_packet is correct? Are you specifying the units? i.e. max_allowed_packet = 512M

    2. Are you sure MySQL is using the same my.cnf file you are editing? Login to MySQL from console, and run: SHOW GLOBAL VARIABLES; Is max_allowed_packet set correctly?

    3. Finally, if all fails, consider this workaround via Drupal Tweaks module: http://drupal.org/project/drupal_tweaks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just moved my drupal to a new server and I get the following
I've just moved a Joomla 1.7 site to a new server. Administration back-end works
I just moved my drupal site to another domain/host I moved the DB and
Just moved a site over to a new server and we started getting some
I've just moved my drupal site, and now when I'm typing the link to
I just moved my site to a new web host, and after changing the
I just moved my site to a new domain on hostgator and now the
I've just moved onto a new machine. On my old work horse, I had
So i have just moved everything from my localhost to a new online server
I have just moved the dev site over to my linux server for production

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.