How to check the WordPress database name from your config file
Sometimes you wants to change your WordPress’s plugins, theme from your database then you want to know about the “Database Name” of your WordPress. Database Name can easily be found from wp-config.php file in WordPress via your file manager. wp-config.php is a core file of the WordPress which contain all the information about your database & connection settings.
If you want to check the database name then you need to follow the below mentioned steps:
Step1: Login to your cPanel.
Step2: Under Files section click on “File Manager”. A list of Files and Folders will open.
Step3: Locate “wp-config.php” file from the list.
Step4: Select “wp-config.php” file and click on View button at the top navigation bar.
Step5: In the wp-config.php file search “DB_NAME”. You can see Database Name with the DB_NAME which is shown as (‘DB_NAME’, ‘abc_wp305’).