Title: PHP message: WordPress database error: can&#8217;t select global__w
Last modified: July 16, 2021

---

# PHP message: WordPress database error: can’t select global__w

 *  [ben009](https://wordpress.org/support/users/ben009/)
 * (@ben009)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-message-wordpress-database-error-cant-select-global__w/)
 * Out of nowhere I started to see this error in my logs. The site is barely half
   running. From what I gather, this could be something to due with HyperDB timing
   out trying to establish DB connection. Any help to navigate this situation is
   appreciated.
 * `PHP message: WordPress database error 2021-07-16 23:01:11 Can’t select global__w–
   ‘
   referrer’ => ‘ladesignconcepts.com/?wordfence_lh=1&hid=64F68538D91B9C347018A49A3520CCBE&
   r=0.2028463586719954’, ‘server’ => , ‘host’ => 192.241.196.148, ‘error’ => Connection
   timed out, ‘errno’ => 2002, ‘server_state’ => ‘lagged_status’ => 3 for query 
   INSERT IGNORE INTO qw9_wflivetraffichuman (IP, identifier, expiration) VALUES(‘\
   0\0\0\0\0\0\0\0\0\0���:�’, ‘_�\07� �c�`�', UNIX_TIMESTAMP() + 86400) made by 
   wfLog::cacheHumanRequester" while reading response header from upstream, client:
   172.58.28.243, server: ladesignconcepts.com, request: "GET /?wordfence_lh=1&hid
   =64F68538D91B9C347018A49A3520CCBE&r=0.2028463586719954 HTTP/2.0", upstream: "
   fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "ladesignconcepts.com", referrer:"
   https://ladesignconcepts.com/designer-fabric-online/"`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-message-wordpress-database-error-cant-select-global__w%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘PHP message: WordPress database error: can’t select global__w’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hyperdb_33353d.svg)
 * [HyperDB](https://wordpress.org/plugins/hyperdb/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hyperdb/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hyperdb/)
 * [Active Topics](https://wordpress.org/support/plugin/hyperdb/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hyperdb/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hyperdb/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ben009](https://wordpress.org/support/users/ben009/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/php-message-wordpress-database-error-cant-select-global__w/)
 * Status: not resolved