This post is perfect for you if you are a WordPress beginner and don’t know how to access your WordPress database details. The WordPress database, DB User, and DB Password may all be discovered in the “wp-config” file using the procedure below.
1. Log into cPanel.

2. Click on the option “File Manager”.

3. You will be directed to a new page, where you will find some folders. Select the “wp” folder and double-click on it.

4. Select the “wp-config” file, right-click and select the view option.


4. The wp-config file will be displayed in a new tab. In the new tab, you’ll see a lot of coding lines. You just need to check things related to the database name, database password, etc.

Was this information helpful to you? Great! Today, get a pre-secured, pre-optimized website hosting plan with 24/7 technical support. If you require any additional assistance, please submit a request to our support team. We’d be happy to take a look.
Want to back up your database? Check out How to Manually Back up a MySQL Database in cPanel
Related Articles

How to Redirect HTTP to HTTPS in WordPress Using .htaccess

How to Check Hosting Resource Usage for WordPress in cPanel

How to improve WordPress Performance with Caching and HTTP/2
