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
Was this answer helpful? 1 Users Found This Useful (1 Votes)