Thanks to increasing the memory limit to 64M I can access my Drupal site. But when I want to administer my site, for example access the status report page or any other admin section I get the following error:
Warning: MySQL server has gone away 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:442022:\"Lost connection to MySQL server during query\nquery: UPDATE cache_update SET data = 'a:43:{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:\\"default_major\\";s:1:\\"1\\" in /home/tomsm/public_html/includes/database.mysql.inc on line 128
Maybe some other MySQL settings need to be optimized? What are the mysql settings for free hosting accounts, such as wait_timeout and max_allowed_packet?
What can I do to solve this problem?
Warning: MySQL server has gone away 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:442022:\"Lost connection to MySQL server during query\nquery: UPDATE cache_update SET data = 'a:43:{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:\\"default_major\\";s:1:\\"1\\" in /home/tomsm/public_html/includes/database.mysql.inc on line 128
Maybe some other MySQL settings need to be optimized? What are the mysql settings for free hosting accounts, such as wait_timeout and max_allowed_packet?
What can I do to solve this problem?