1. Home
  2. Applications Management
  3. WordPress
  4. How To Find The Name Of Your WordPress Database

How To Find The Name Of Your WordPress Database

Depending on the method you use when you install WordPress, you may or may not have set a custom database name. And sometimes, particularly when working with developers, you’ll need to locate the name of your database.

Not to worry, we’ll cover how to do that in this Knowledgebase Article.

How To Find The Name Of Your WordPress Database

Step 1: Login to your cPanel. There are a lot of ways to do this, but the sure-fire easiest way is to login to your Client Area, then open your cPanel.

Step 2: In your cPanel, look for the Files section (at the top) and open the File Manager.

Step 3: Navigate to your public_html folder, then find the folder in which your WordPress site is installed. In this case, it’s installed in a folder called kb2 in my public_html folder.

Then:

Once you’re in the folder/directory in which WordPress is installed, you should see the listing of files that go along with a WordPress installation, like this:

Step 4: You want to open the file called wp-config.php in the File Manager. To do this, select the wp-config.php file, then click Edit from the row of options at the top.

Step 5: After clicking Edit, a new window will open where you will see a lot of text. This is the configuration file for your WordPress site, so be sure not to make any changes. If you read through the file, look for this section:

// ** MySQL Settings - You can get this info from your web host ** //

On line 23 you will see the name of the database being used for your WordPress installation:

And that’s how you discover the name of the database running your WordPress site!

Struggling with WordPress troubleshooting? ChemiCloud is the hosting solution designed to save you time! 🤓 Check out our WordPress Hosting plans!

Updated on March 18, 2022

Was this article helpful?

Related Articles

TRY CHEMICLOUD RISK-FREE
Fast, secure cloud hosting. 18 global data centers. Unhappy with your web host?
👉 Migrate for Free

Leave a Comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.