× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Drupal MySQL Server has gone away

Matt Glaman
Oct 03, 2015
<p>If you've begun to encounter this with your Drupal site, chances are it is an issue with Drupal writing a packet bigger than your MySQL server can take. This most often happens when caching data.</p> <p>To fix, simply modify your <strong>my.cnf</strong> or make a <strong>drupal.cnf</strong> under <strong>/etc/mysql/conf.d</strong> that has the following</p> <pre><code>[mysqld] max_allowed_packet=16M</code></pre> <p>For more info, see https://www.drupal.org/requirements/database</p>
comments powered by Disqus