Title: Database error (version 7.1.1)
Last modified: March 22, 2018

---

# Database error (version 7.1.1)

 *  Resolved [stfa76](https://wordpress.org/support/users/stfa76/)
 * (@stfa76)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/database-error-version-7-1-1/)
 * Hello,
 * Versions:
    – WordPress 4.9.4 – PHP 7.2 – MYSQL v.5.5 – Wordfence Security 7.1.1
 * After upgrading to Wordfence Security version 7.1.1 yesterday, I saw this error
   appearing in the server’s log:
 *     ```
       /www/index.php" stderr: PHP message: Erreur de la base de donn\xc3\xa9es WordPress MySQL server has gone away pour la requ\xc3\xaate SELECT TABLE_NAME FROM information_schema.TABLES
       /www/index.php" stderr: WHERE TABLE_SCHEMA=DATABASE()
       /www/index.php" stderr: AND TABLE_NAME='wp_wfConfig' faite par require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wordfence/wordfence.php'), wordfence::install_actions, wordfence::getLog, wfLog::shared, wfConfig::get, wfConfig::hasCachedOption, wfConfig::loadAllOptions, wfConfig::updateTableExists
       ```
   
 * Best regards,
    Stephane.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [wfyann](https://wordpress.org/support/users/wfyann/)
 * (@wfyann)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/database-error-version-7-1-1/#post-10117788)
 * Hi [@stfa76](https://wordpress.org/support/users/stfa76/),
 * Can you see any errors in the “_Wordfence Config_” section of the “_Wordfence–
   > Tools –> Diagnostics_” page?
 * Have you checked that the “wfConfig” table isn’t corrupted in any way and needs
   to be repaired?
 *  Thread Starter [stfa76](https://wordpress.org/support/users/stfa76/)
 * (@stfa76)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/database-error-version-7-1-1/#post-10118265)
 * Hi [@wfyann](https://wordpress.org/support/users/wfyann/),
 * All the status are green in “Wordfence -> Tools -> Diagnostics”.
    And status 
   is also OK when performing a “check table” on wfConfig under mysql.
 * Best regards,
    Stephane.
 *  [wfyann](https://wordpress.org/support/users/wfyann/)
 * (@wfyann)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/database-error-version-7-1-1/#post-10181629)
 * Hi [@stfa76](https://wordpress.org/support/users/stfa76/),
 * Sorry about the delayed update.
 * This seems to be a timeout related issue. Could you try implementing the solution
   outlined [here](https://stackoverflow.com/questions/15693796/wordpress-database-error-mysql-server-has-gone-away-for-query)?
 *  Thread Starter [stfa76](https://wordpress.org/support/users/stfa76/)
 * (@stfa76)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/database-error-version-7-1-1/#post-10182944)
 * Hello [@wfyann](https://wordpress.org/support/users/wfyann/),
 * Thank you for your answer.
 * I guess the problem came from our previous provider because since I migrated 
   my website two weeks ago, this issue did not come up again.
 * Best regards,
    Stephane.
 *  [wfyann](https://wordpress.org/support/users/wfyann/)
 * (@wfyann)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/database-error-version-7-1-1/#post-10183240)
 * Hi Stephane,
 * Thanks for letting me know. I’m glad you found a solution!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Database error (version 7.1.1)’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [wfyann](https://wordpress.org/support/users/wfyann/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/database-error-version-7-1-1/#post-10183240)
 * Status: resolved