How to Locate Your WordPress Database: wp-config.php

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

Locating your WordPress database using "wp-config.php" via File Manager.

    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



  1. Click Edit again on the Prompt to open the wp-config.php file for editing.
  2. 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:    

    exampledomain_exampledb
       WordPress Database Name wp-config.php
  3. 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. 
 
Need Help? Submit a Ticket or Emailsupport@glowfroghosting.com
  • locate wordpress database, wp-config.php, view wordpress database name, how to locate your wordpress database, how to know which database is your wordpress database
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Change or Update Home and Site URL

Option #1 - Change Home and Site URL From Dashboard You can change the Home and Site URL from...

Change/Switch WordPress to HTTPS from HTTP

Enabling HTTPS in WordPress   Log into the WordPress Dashboard. Hover over Settings in the...

How to Install WordPress Using the Free Applications Installer

1. Log into FrogDen   2. From the Client Area, click on the Services Block to access your...

How to Enable WordPress Debug Mode

Turn On or Enable WordPress Debugging Mode via “wp-config.php” using File Manager in cPanel In...

How to Fix WordPress 404 Error

How to Reset the WordPress Permalinks (Fix 404 Errors)   Step 1. Log into the WordPress...