Finding the name of a WordPress database or password may not be an easy task for a wp beginner, simply because the database values were not created by you, they are automatically generated at the point of installing your WordPress site by one click installer tools.
Another issue might be that, If you have many WordPress installation in same Cpanel then finding the database name of a particular WordPress website might really be a big deal.
But then, there is an easy way to go about it. It is a very simple and straightforward method.
All you need do is login to your cpanel area, visit file manager then access the file directory of the particular WordPress website.
In the directory try to find s file named wp-config.php, you can always find it in the root folder of the WordPress installation.
You can access the file by just right clicking and select option to “edit ” file so you can see the details of your database in there.
Be sure not to alter the values so your WordPress website don’t go bad. (IG you know what you’re doing please ignore)