How to Identify your WordPress database name
Here is how to identify the name of a database for an existing WordPress installation on your account.
Use the 1-click Apps installer (cPanel). This will only work if you’ve used this tool to install WordPress or if you’ve imported your existing installation using this tool.
- Login to your cPanel account
- Click 1-click App Installer under Popular Tools
- Click the WordPress icon
- Under current installations you should see the different websites you are managing
- Click the edit icon of the account you wish to manipulate
- Next to database name you will find the name of of the WordPress database for that account. Unless you have changed the database name it should appear as your cpanel username, followed by _wp and 3 to 4 numbers.
Identify the database name through the wp-config.php file
- Using cPanel’s File Manager, browse to the folder where your WordPress is installed
- Select the wp-config.php file, then click View
- Locate the line that looks like:
- Your database name is the string contained in db_name_here.
Was this answer helpful?