Loading...

Knowledge Base

How To Find Your WordPress Database

Did you find this article helpful?
Copy Link

 
* Your feedback is too short
Share

Overview

This article explains how to locate the WordPress databases used by your Bluehost hosting account. This information could be helpful if you want to use a tool like phpMyAdmin to access the database. 



Identifying the WordPress Database

To obtain the database information, access the hosting account's files and open the WordPress wp-config.php file. This file contains the database information. 

Accessing the File Manager

  1. Log in to your Bluehost Account Manager.
  2. Once logged in, find and click the WordPress Hosting tab on the left side of your Account Manager dashboard. 
  3. Click FILE MANAGER under Quick Links.
    Bluehost AM File Manager quicklink
  4. Look for the website file you want to get the database information for.

Opening the wp-config.php File

  1. Once in the cP File Manager, ensure you are in the correct folder where your WordPress site files are located.  
  2. Locate the wp-config.php file in the list of files in the cP File Manager
  3. Click the Edit icon from the Toolbar, and a popup window will appear. Alternatively, highlight the file or folder and right-click your mouse to show a drop-down menu. Click Edit, and then the same popup window will appear. 
  4. To launch the code editor, click the Edit button on the popup window. 
  5. Locate the line that reads define('DB_NAME', 'example_database') once you are in the file editor. Typically, it is usually around line 19. The second term enclosed in single quotes is the database. In the sample screenshot below, it is example_WPPXG.
    Bluehost cPanel wpconfig file

Tip:  

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Did you find this article helpful?
Copy Link

 
* Your feedback is too short

Loading...