MySQL server has gone away - production site Possible Duplicate:
  Solving “MySQL server has gone away”, mysql error 2006  




My website is moved from localhost to virtual hosting and after 1 week I receive an error 2006 2006 MySQL server has gone away. Now I can create/edit content but not content types and cannot clear the cache, I see white screen in this case. My hoster said that the max_allowed_packed size is only 1M and I cannot change it. 

Is there a way to fix this error?



I deleted content types I don't use now and the problem has gone away... And now I can also clear the cache and edit other content types. What it was I cannot understand, it's beyond me
Culprit may be max_allowed_packet which is too little. Drupal Requirements page suggests 16M, but it depends on your site. If you are not able to get sufficient memory allocated, better change host.


  When using Drupal 5.x or later, particularly with contributed modules,
  it may be necessary to set the system variable max_allowed_packet to
  at least 16M. Some inexpensive hosting plans set this value too low
  (the MySQL default is only 1M). In that case, you may need to choose a
  better hosting plan. A value of 1M may be sufficient for 5.x.