"user warning: MySQL server has gone away query: UPDATE cache_menu SET "

what does this mean when i have just enabled some modules?

Comments

betz’s picture

Never had this happened, but i found this on the mysql website:
http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

chasz’s picture

"user warning: MySQL server has gone away query: UPDATE cache_menu SET data = 'a:954:{s:18:\"_autocomplete_file\";a:26:{s:13:\"page callback\";s:30:\"_uc_file_autocomplete_filename\";s:16:\"access arguments\";a:1:{i:0;s:27:\"administer product features\";}s:4:\"type\";i:4;s:6:\"module\";s:7:\"uc_file\";s:14:\"load_functions\";s:0:\"\";s:16:\"to_arg_functions\";s:0:\"\";s:5:\"title\";s:0:\"\";s:6:\"weight\";i:0;s:13:\"_number_parts\";i:1;s:6:\"_parts\";a:1:{i:0;s:18:\"_autocomplete_file\";}s:4:\"_fit\";i:1;s:8:\"_visible\";b:1;s:4:\"_tab\";b:0;s:10:\"tab_parent\";s:0:\"\";s:8:\"tab_root\";s:18:\"_autocomplete_file\";s:15:\"access callback\";s:11:\"user_access\";s:14:\"page arguments\";a:0:{}s:14:\"block callback\";s:0:\"\";s:15:\"title arguments\";a:0:{}s:14:\"title callback\";s:1:\"t\";s:11:\"description\";s:0:\"\";s:8:\"position\";s:0:\"\";s:4:\"path\";s:18:\"_autocomplete_file\";s:4:\"file\";s:0:\"\";s:9:\"file path\";s:0:\"\";s:12:\"include file\";s:0:\"\";}s:4:\"node\";a:26:{s:5:\"title\";s:7:\"Content\";s:13:\"page callback\";s:17:\"node_page_default\";s:16:\"access arguments\";a:1:{i:0;s:14:\"access content\";}s:4:\"type\";i:4;s:6:\"module\";s:4:\"node\";s:14:\"load_functions\";s:0:\"\";s:16:\"to_arg_functions\";s:0:\"\";s:6:\"weight\";i:0;s:13:\"_number_parts\";i:1;s:6:\"_parts\";a:1:{i:0;s:4:\"node\";}s:4:\"_fit\";i:1;s:8:\"_visible\";b:1;s:4:\"_tab\";b:0;s:10:\"tab_parent\";s:0:\"\";s:8:\"tab_root\";s:4:\"node\";s:15:\"access callback\";s:11:\"user_access\";s:14:\"page arguments\";a:0:{}s:14:\"block callback\";s:0:\"\";s:15:\"title arguments\";a:0:{}s:14:\"title callback\";s:1:\"t\";s:11:\"description\";s:0:\"\";s:8:\"position\";s:0:\"\";s:4:\"path\";s:4:\"node\";s:4:\"file\";s:0:\"\";s:9:\"file path\";s:0:\"\";s:12:\"include file\";s:0:\"\";}s:7:\"rss.xml\";a:26:{s:5:\"title\";s:8:\"RSS feed\";s:13:\"page callback\";s:9:\"node_feed\";s:16:\"access arguments\";a:1:{i:0;s:14:\"access content\";}s:4:\"type\";i:4;s:6:\"module\";s:4:\"node\";s:14:\"load_functions\";s:0:\"\";s:16:\"to_arg_functions\";s:0:\"\";s:6:\"weight\";i:0;s:13:\"_number_parts\";i:1;s:6:\"_parts\";a:1:{i:0;s:7:\"rss.xml\";}s:4:\"_fit\";i:1;s:8:\"_visible\";b:1;s:4:\"_tab\";b:0;s:10:\"tab_parent\";s:0:\"\";s:8:\"tab_root\";s:7:\"rss.xml\";s:15:\"access callback\";s:11:\"user_access\";s:14:\"page arguments\";a:0:{}s:14:\"block callback\";s:0:\"\";s:15:\"title a........................"

how can i fix this?? do i clear any table?

chasz’s picture

someone has to know how to reset this without killing the rest of the site !!

all i did was switched on some modules, why doesnt it do update the database in orderly manner, but looks to swamp the DB to get that timeout error?

betz’s picture

What you could do is disable conttibuted modules in your db.
Look for modules in the system table. Just delete the lines in this table with the name of a contributed module. This will disable them.

kenorb’s picture

Try db_tweaks module to increase your packet size.

Issue: #327066: Warning: MySQL server has gone away: recursive error reporting