I'm receiving a bunch of PHP errors like this one:

Warning: MySQL server has gone away query: INSERT INTO ppc_watchdog ([...]) VALUES ([...]) in /path/drupal-6.19/includes/database.mysql.inc on line 128

I guess the MySQL connection is timing out too soon.

Comments

noel.rivas’s picture

Adding mysqli.reconnect = On solved the problem for me; however, people with no access to the php.ini in their servers won't be able to do this.

rsgracey’s picture

Add this line to your settings.php file:

ini_set('mysqli.reconnect', 'on');

That accomplishes the same thing. It worked for me! Thanks!

Stephen

btopro’s picture

Good to know, documentation.

btopro’s picture

Version: 6.x-1.0 » 6.x-2.0-alpha1
Status: Active » Closed (fixed)