This post is perfect for you if you’re new to WordPress and don’t know how to access your WordPress database details.
You can locate the WordPress database, DB User, and DB Password in the wp-config.php file by following these instructions.
- Login to cPanel.
- Click on the option – ‘File Manager.
- Look for your WordPress installation and find the file called – ‘wp-config’.
- Right-click on the ‘wp-config’ file and click on the ‘View’ option. This will open the wp-config file in a new tab.