How to Find Your WordPress Database Name

If you’ve ever had the need to find the name of your WordPress database, then there’s an easy way to do that – simply look for it in your wp-config.php file located in the root folder of your WordPress install.

Accessing Your WP-Config.php File

If you are doing something where you need the name of your database, then I’m assuming you have access to your server.

Simply go to the main folder of your WordPress install and locate the file called wp-config.php.

 

Open that file by clicking “View” or “Edit” or however your system lets you see the file.

Once your file is open, near the top after some introductory information, you should be able to spot the database name pretty clearly. It should look something like this:

And that’s it.

Featured Plugin - WordPress Facebook Plugin

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more
Tags

Comments (2)

    • Nah, I changed it for the screenshot. You had me scared there for a minute, thinking I forgot to. :) … It’s just a test site anyway. It gets wiped on a regular basis.

Participate