Title: Error connecting to databse
Last modified: September 8, 2025

---

# Error connecting to databse

 *  Resolved [martinstraith](https://wordpress.org/support/users/martinstraith/)
 * (@martinstraith)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/error-connecting-to-databse/)
 * When activating wordefence get ‘error connecting to database’. If I deactivate
   problem goes away. Using PHP 7.4.33 (host site says cannot upgrade PHP just yet.
   Also on WordPress 6.6.3
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-connecting-to-databse%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/error-connecting-to-databse/#post-18636459)
 * Hi [@martinstraith](https://wordpress.org/support/users/martinstraith/),
 * I get errors in multiple browsers for `SSL_ERROR_UNRECOGNIZED_NAME_ALERT` when
   trying to visit that URL. Is there a problem with your SSL certificate, as even
   trying to visit http forces me to https? I can’t get a response in the command
   line with cURL from http or https either.
 * Wordfence should work on any site with WordPress **4.7 or higher** and PHP version**
   7.0 or higher**, so I don’t think your versions are an issue. I would check in
   with your host to see if there are any error logs from the time you tried to 
   activate Wordfence. They may be able to pass more detailed information for you
   to share here or resolve the problem right away.
 * Thanks,
   Peter.

Viewing 1 replies (of 1 total)

The topic ‘Error connecting to databse’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [8 months, 2 weeks ago](https://wordpress.org/support/topic/error-connecting-to-databse/#post-18636459)
 * Status: resolved