Get 15% Off! Use Coupon: GlowUp-15

The deal ends in

How to Locate the name of Your WordPress Database

  • Home
  • cPanel
  • How to Locate the name of Your WordPress Database

How to Locate the name of Your WordPress Database

You can use File Manager in cPanel to view the contents of your sites “wp-config.php” file which will have the database information inside of it.

In this guide, we will outline the steps to locate the name of your WordPress database by checking the contents of the “wp-config.php” file.

Use File Manager to view the wp-config.php file.

1. Log into cPanel
2. Click on File Manager
3. Browse to the ‘public_html’ directory or the Document Root for your website if WordPress is located in a different directory or is not installed on your main domain.

4. Right Click on the ‘wp-config.php‘ file and click edit
File Manager Edit wp-config.php File

5. Click Edit again on the Prompt to open the wp-config.php file for editing.

6. Locate the MySQL Settings line in the wp-config.php file then locate the DB_NAME entry. The name of your WordPress database will be in parenthesis. In our example, our WordPress database name is ‘exampledomain_exampledb‘ as outlined in our example below:


WordPress Database Name wp-config.php

7. Click ‘Close‘ in the Top Right-Hand corner of File Manager to close the file without making any changes.

File Manager Save Changes

That’s it! Now you have located the name of your WordPress database.

Leave a Reply

GlowFrog (1)

© 2022 GlowFrog Hosting, LLC. All rights reserved. | Proudly Powered by Vultr and Google Cloud

Get Notified.

Provide us with your email and we will keep you informed with latest updates and news.

Migrate Your WordPress Site to GlowFrog

Need Help Optimizing your WordPress Site?

Talk to our Experts and get a complimentary website review and consultation.