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 Wiki Plugin

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

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.