Warning: MySQL server has gone away query. A "watchdog" Issue. WHAT IS THIS??!
Rosamunda - March 2, 2008 - 19:09
What´s this error?
It appears randomly...!
Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>MySQL server has gone away\nquery: LOCK TABLES cache_page WRITE</em> en la línea <em>172</em> del archivo <em>/home/planetac/public_html/includes/database.mysql.inc</em>.', 2, '', 'http://www.planetaconsorcio.com/', 'http://www.planetaconsorcio.com/user/76/edit', '200.122.115.187', 1204484718) in /home/planetac/public_html/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 (0, 'php', '<em></em> en la línea <em>172</em> del archivo <em>/home/planetac/public_html/includes/database.mysql.inc</em>.', 2, '', 'http://www.planetaconsorcio.com/', 'http://www.planetaconsorcio.com/user/76/edit', '200.122.115.187', 1204484718) in /home/planetac/public_html/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 (0, 'php', '<em>MySQL server has gone away\nquery: UNLOCK TABLES</em> en la línea <em>172</em> del archivo <em>/home/planetac/public_html/includes/database.mysql.inc</em>.', 2, '', 'http://www.planetaconsorcio.com/', 'http://www.planetaconsorcio.com/user/76/edit', '200.122.115.187', 1204484718) in /home/planetac/public_html/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 (0, 'php', '<em>MySQL server has gone away\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&#039;&#039;, &#039;node&#039;, &#039;http://www.planetaconsorcio.com/user/76/edit&#039;, &#039;200.122.115.187&#039;, 0, &#039;aea730725310fbdd67b9355d86ed6513&#039;, 43293, 1204484718)</em> en la línea <em>172</em> del archivo <em>/home/planetac/public_html/includes/database.mysql.inc</em>.', 2, '', 'http://www.planetaconsorcio.com/', 'http://www.planetaconsorcio.com/user/76/edit', '200.122.115.187', 1204484718) in /home/planetac/public_html/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 (0, 'php', '<em>MySQL server has gone away\nquery: SELECT sid FROM sessions WHERE sid = &#039;aea730725310fbdd67b9355d86ed6513&#039;</em> en la línea <em>172</em> del archivo <em>/home/planetac/public_html/includes/database.mysql.inc</em>.', 2, '', 'http://www.planetaconsorcio.com/', 'http://www.planetaconsorcio.com/user/76/edit', '200.122.115.187', 1204484718) in /home/planetac/public_html/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 (0, 'php', '<em>MySQL server has gone away\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES (&#039;aea730725310fbdd67b9355d86ed6513&#039;, 0, 0, &#039;200.122.115.187&#039;, &#039;messages|a:1:{s:5:\\&quot;error\\&quot;;a:4:{i:0;s:147:\\&quot;user warning: MySQL server has gone away\\nquery: LOCK TABLES cache_page WRITE in /home/planetac/public_html/includes/database.mysql.inc on line 172.\\&quot;;i:1;s:85:\\&quot;user warning: in /home/planetac/public_html/includes/database.mysql.inc on line 172.\\&quot;;i:2;s:132:\\&quot;user warning: MySQL server has gone away\\nquery: UNLOCK TABLES in /home/planetac/public_html/includes/database.mysql.inc on line 172.\\&quot;;i:3;s:391:\\&quot;user warning: MySQL server in /home/planetac/public_html/includes/database.mysql.inc on line 172I would really, really, really appreciate any help.
Thanks!!!
Rosamunda

MySQL Server Issue
Hi,
This is MySQL server issue. Talk to you host - he will get it sorted.
This problem usually occurs when MySQL is not able to respond to requests - either mysql is dead or too busy
Vinay Yadav
PHP / Drupal Developer
http://www.vinayras.com
www.eDrupal.com - Indian Drupal Community
fix on shared hosting
this worked for me. I am on a shared hosting account, no access to mysql settings(max_allowed_packet or timeout settings), but this seemed to fix it:
http://drupal.org/node/227445#comment-770663
also, disable syslog and database logging.
gideon
THANKS!!!
Yeap, it solved the issue for me too.
Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org
So I guess the easy solution
So I guess the easy solution would be just to disable everything, including drupal, that will fix it all right (sarcasm). Shouldn't database logging be enabled how else will you know about the errors.
>>>>>>>>>>>>>>>>>>>>>>>
contemplating the meaning of existence, what else would I be doing
See also :
MySql : "Warning: MySQL server has gone away" - Tune MySql to resolve this problem