• Resolved jhernanper

    (@jhernanper)


    Hello Peter @wfpeter,

    I have the same situation as other users reported, where Wordfence states that it is unable to query the database.

    I followed your guidelines, set up the debugging, changed the value to 20, performed a new scan and clicked on the “send report by email” button. It didn’t ask me for my WP forum username, though.

    Please let me know if you need me doing anything else and many thanks for your time and help!

    Cheers,

    Javier

    • This topic was modified 1 year, 1 month ago by jhernanper.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @jhernanper, thanks for getting in touch!

    I found your scan log based on your domain above, it’s when sending a site diagnostic from the Wordfence > Tools > Diagnostics page when you’ll be prompted for a forum username.

    I’ve usually seen the Unable to query database error when sites are running on a local environment of some kind, such as MAMP or on Windows/Mac platforms but at its core, the wfHoover table likely cannot be created.

    We’re unable to support local or Windows installations, but if that’s not the case for you, you may need to reset the plugin.

    You can backup your Wordfence settings via the “Export” option. Navigate to Wordfence > Tools > Import/Export Options and click Export. You can also take note of the current Whitelisted URLs you have in Wordfence > Firewall > All Firewall Options > Whitelisted URLs as these are NOT included in the Import/Export, and will be lost during the re-install.
    Here is what is exported: https://www.wordfence.com/help/tools/import-export/
    During the export, you will be given a long string of text. Keep this safe, you’ll need it in a few minutes.

    After that, enable the option to Delete Wordfence tables and data on deactivation in All Options > General Wordfence Options. You will want to remember to disable this after you reinstall Wordfence again.

    After you enable that option, you can deactivate Wordfence from the Plugins area of your site, then delete it. Next, from the plugins area, search for and re-install Wordfence like normal.

    It will be like setting Wordfence up for the first time. You will need to enter an email address, and then go into Tools > Import/Export Options and paste that string of text into the Import Wordfence Options field and click the button there.

    The firewall will be in Learning Mode by default for 7 days. I would recommend switching this to Enabled and Protected as soon as possible.

    Thanks,
    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘Wordfence Scan failed: Unable to query database’ is closed to new replies.