I get following type of warnings on my Drupal Site which usually disappear when I flush the cache
"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.',
Any idea why it happens and how flushing the cache clears it all?
Thanks in advance!