Loading...

Knowledge Base
Switch to Bluehost and get money back
Migrate your WordPress website from your current host and we'll cover the costs.

How to Find Your WordPress Database

Looking to locate your WordPress database so you can better manage the administration of your sites? This guide shows you how to find your WordPress database file and quickly get access to its information. Whether you need access to phpMyAdmin or want to understand your hosting setup better, knowing how to find the WordPress database is essential for effective site maintenance.



Find 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. 

Access File Manager

  1. Log in to your Bluehost Account Manager.
  2. Click the Hosting tab from the side navigation.
    Bluehost Dashboard highlighting 'Hosting' tab
  3. Choose the Hosting Package name you want to manage under the All My Hosting Packages section.
    • If you have multiple Hosting packages on your account, click the MANAGE button on the Hosting package you want to manage.
    • If you only have a single Hosting package on your account, you will be rerouted to the Hosting Overview page.
  4. Under Quick Links, click on File Manager.
    Account-manager-file-manager

Open wp-config.php File

  1. Once in the File Manager, ensure you are in the correct folder where your WordPress site files are.  
  2. Locate the wp-config.php file in the list of files in the File Manager.
    rock-wp-config-php
  3. Click the Edit icon from the Toolbar.
    cP Edit icon
    Alternatively, highlight the wp-config.php file, right-click your mouse to show a drop-down menu, and then click Edit
    rock-filemanager-edit
  4. To launch the code editor, click the Edit button on the popup window. 
  5. Once you access the file editor, locate the line that reads define('DB_NAME', 'example_database'). It is usually about line 19. The second term in single quotes is the database. Example Screenshot Below is example_WPPXG.
    Bluehost cPanel wpconfig file

Tip: 

Summary

Understanding where your WordPress database is and getting access to it is vital to successfully managing a site. With the steps outlined above, you can locate the WordPress database file and find what you want using the information in the wp-config.php file. If you are preparing to use phpMyAdmin and want to know your data is safe, then learn how to confidently handle your site.

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?

 
* Your feedback is too short

Loading...