If you need to know which database your WordPress site uses—for troubleshooting, backups, or moving your site—this guide shows you where to find it.
Method 1: WordPress Manager in Dashboard (Easiest)
The quickest way to find your WordPress database name is through the WordPress Manager.
Steps
- Log in to your Ecenica Dashboard
- Click Manage next to your Ecenica hosting service
- Click WordPress Manager
- Find your WordPress site in the list
- Click the down chevron (▼) to expand it
- Click Database Details to expand the information
- Your Database Name is shown
To access the database directly:
Click View Database to open phpMyAdmin for that database.
Method 2: Check wp-config.php
Your WordPress database name is stored in the wp-config.php file.
Steps
- Log in to Ecenica Dashboard
- Click Manage next to your Ecenica hosting service
- Click File Manager
- Navigate to your WordPress installation folder (usually public_html)
- Find and right-click wp-config.php
- Click Edit
- Look for this line near the top of the file:
define( 'DB_NAME', 'your_database_name' );
The database name is the value in quotes after DB_NAME.
Example:
define( 'DB_NAME', 'ecenic12_wp789' );
The database name is ecenic12_wp789.
Method 3: Check phpMyAdmin
If you have access to phpMyAdmin, you can see all your databases listed.
Steps
- Log in to Ecenica Dashboard
- Click Manage next to your Ecenica hosting service
- Click phpMyAdmin
- Your databases are listed in the left sidebar
Identifying the correct database:
Click on each database and look for WordPress tables like:
wp_postswp_userswp_optionswp_comments
The database containing these tables is your WordPress database.
Understanding WordPress Database Names
WordPress database names on Ecenica hosting typically follow this format:
cpanelusername_databasename
Example:
- cPanel username:
ecenic12 - Database name:
ecenic12_wp789
The username prefix (ecenic12_) is added automatically to prevent database name conflicts.