How to Find Your WordPress Database Name in 3 Right Methods
By Aslam | September 26, 2024
The database is where used to store all your website’s necessary files and settings of your site to function the site. WordPress uses a relational database to retrieve, store, and manage all the data related to your site content, such as pages, posts, comments, users, Plugins, Themes, and more.
Identify the WordPress database name using cPanel.
Step 1: Log into your cPanel.
Step 2: Navigate to a Files and click File Manager as shown in the below screenshot.
Step 3: Click on the Public_html Folder and you may see so many files, under locate and find the wp.config.php. Highlight the file and then click on the view Icon or Edit icon as found in the toolbar across the top of the section.
Once you enter into the Wp config file you will so many a line of codes there and it will appear like this as a screenshot shown below
define( ‘DB_NAME’, ‘Sample_wp864’ );
The value Sample_wp864 is the Database name of your website.
You will need this database name when you need to access it PHPMYADMIN Database management tool to locate the actual database name of your site among different database names
Identify the WordPress Database name using Softaculous.
Step 1: Log into your cPanel.
Step 2: Navigate to a software section and click WordPress as shown in the below screenshot.
Once entered into WordPress, Click the down arrow on the left side of your WordPress Installation.
Once click the down arrow of your current website WordPress installation, you can see the option at the bottom of your installation, you can find the Database details for your site, click and view the Database details
Identify the WordPress Database By connecting the FTP client using the file zilla.
Once you enter into FileZilla and configure properly with an FTP connection using your website IP in the hostname, cPanel username, and Password and then click Quick Connect.
Then you will see the status at the top as Directory listing of “/” successful, which means that you have successfully connected your web hosting account with the FTP client.
You can see the Web host primary directory on the right side, you can click public HTML and navigate the wp-config.php file to find your database name.