[wp-trac] [WordPress Trac] #36869: MySQL server has gone away
WordPress Trac
noreply at wordpress.org
Tue May 17 20:37:15 UTC 2016
#36869: MySQL server has gone away
---------------------------+-----------------------------
Reporter: benoitchantre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 4.5
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
Since the upgrade to WP 4.5, I can see many warnings like this in the
logs.
I use Comet Cache Pro (static cache) and the warnings disappear when I
disable it.
I have have contacted my host and the answer is the warning appears,
because the connexion with mySQL has timed out because of inactivity.
{{{
[Mon May 16 23:49:54 2016] [error] [client 128.65.195.34] FastCGI: server
"/home/clients/b9bea0796c13d5f0e5012c76b5730384/.config/apache/mydomain.com/.fpm/php5.external"
stderr: PHP message: PHP Warning: mysqli_query(): MySQL server has gone
away in /home/clients/b9bea0796c13d5f0e5012c76b5730384/web/_wp/wp-includes
/wp-db.php on line 1811
}}}
{{{
[Tue May 17 22:23:51 2016] [error] [client 128.65.195.34] FastCGI: server
"/home/clients/b9bea0796c13d5f0e5012c76b5730384/.config/apache/mydomain.com/.fpm/php5.external"
stderr: PHP message: PHP Warning: mysqli_query(): Error reading result
set's header in /home/clients/b9bea0796c13d5f0e5012c76b5730384/web/_wp/wp-
includes/wp-db.php on line 1811
}}}
Many other user have reported issues like this with other plugins
* https://wordpress.org/support/topic/upgrade-to-wp-45-error-with-
wordfence
* https://wordpress.org/support/topic/wordpress-452-issues
Is it a bug introduced in WP 4.5?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36869>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list