Title: Unable to get WordPress database credentials
Last modified: November 2, 2022

---

# Unable to get WordPress database credentials

 *  Resolved [jellejacob](https://wordpress.org/support/users/jellejacob/)
 * (@jellejacob)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/unable-to-get-wordpress-database-credentials/)
 * Hi,
 * The error below is shown on WordPress dasboard, what should I do?
 * NinjaFirewall fatal error: Unable to get WordPress database credentials. Review
   your installation, your site is not protected.
 * I tried to reinstall Ninja, but the error is still there.
 * Br, Jelle

Viewing 1 replies (of 1 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/unable-to-get-wordpress-database-credentials/#post-16157762)
 * Try to download and run the database test script: [https://nintechnet.com/share/wp-db.txt](https://nintechnet.com/share/wp-db.txt)
 * 1. Rename it to “wp-db.php”.
    2. Upload it into your WordPress root folder. 3.
   Go to [https://example.com/wp-db.php](https://example.com/wp-db.php) 4. Delete
   it afterwards.

Viewing 1 replies (of 1 total)

The topic ‘Unable to get WordPress database credentials’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/unable-to-get-wordpress-database-credentials/#post-16157762)
 * Status: resolved