The error "General error: 2006 MySQL server has gone away." can occur when you are developing a site on a cms or framework like drupal, wordpress, magento, etc. which can have large queries.

Solution: Increasing max_allowed_packet size in my.ini may fix the issue. At least it fixed mine.

Open your my.ini file which should be inside mysql/bin directory,

search for "max_allowed_packet"

Change the size to 100M or so, max_allowed_packet=100M and

restart MySQL

It worked for me hope works for you too.




Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.