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: