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
1. Go to File Manager:
2. Go to the main folder of your WordPress install and locate the file called wp-config.php:
3. Open that file by clicking “View” or “Edit”.
4. 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.