i'm gaving issues with my site sometimes when posting comments i get this error

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Lost connection to MySQL server during query\nquery: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'gsitemap', 'Error occurred submitting site map to Ask.com: 0', 2, '', 'http://gimp-tutorials.net/comment/reply/193', 'http://gimp-tutorials.net/gimp-cloudbrushes', '122.106.77.44', 1203290654) in /home/content/a/m/i/amixroed/html/GIMP/includes/database.mysql.inc on line 172.', 2, '', 'http://gimp-tutorials.net/comment/reply/193', 'http://gimp-tutorials.net/gimp-cloudbrushes', '122.106.77.44', 1203290654) in /home/content/a/m/i/amixroed/html/GIMP/includes/database.mysql.inc on line 172

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'MySQL server has gone away\nquery: LOCK TABLES variable WRITE in /home/content/a/m/i/amixroed/html/GIMP/includes/database.mysql.inc on line 172.', 2, '', 'http://gimp-tutorials.net/comment/reply/193', 'http://gimp-tutorials.net/gimp-cloudbrushes', '122.106.77.44', 1203290654) in /home/content/a/m/i/amixroed/html/GIMP/includes/database.mysql.inc on line 172

Comments

styro’s picture

If your MySQL server is going away, you should probably be asking your host why that is.

Drupal generally assumes (as it has to) that your database won't go away.

--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal

TheFazz’s picture

i have this same problem with drupal 6.2. i am using a shared webhost, and also run 5.7 on the same host for another site. i do not have problems with 5.7, but i face this for 6.2 everytime i do the manual cron run.

generally what causes the mysql server going away?