1. In the First, You Need Login to Your Cpanel account.
2. Enter the File Manager into the files section.
3. In this section, you will need to locate and move to the root folder for your WordPress installation.
Under public_html/domain name
4. Here find the wp-config.php file among of these files and click the “Edit” button
5. You have to write down the database name in the secure location for your future requirements in the future you will access PhpMyAdmin with the help of this database name.