Loading...

How to find out the database details of your WordPress website in cPanel?

How to find out the database details of your WordPress website in cPanel?

You can find out the database details of your WordPress website from the wp-config.php file which is present inside the file manager of WordPress. So let's find out how you can check that, in a stepwise manner.

1. First, log in to your cPanel account using your account credentials.

2. Then click on the File Manager option present under the Files section. 


3. Then a new window will open, next click on the public_html folder.


4. Inside this folder find a file named wp-config.php, then right-click on it and click on edit.


5. A popup menu will appear, then click on the Edit/View button.


6. A new tab will open in the browser with some code in it. It will look something like this:

/** MySQL database username */
define('DB_USER', 'Username');
/** MySQL database password */
define('DB_PASSWORD', 'password');
/** MySQL hostname */
define('DB_HOST', 'localhost');​

In this case, the database user name is 'Username', the database password is 'password' and the database hostname is 'localhost.'

It will be different for you. So this is how you can find out the database details of your WordPress website using cPanel.

Did you find this article useful?

Related Articles

How to add password to WordPress admin directory via cPanel ? In WordPress, you can access the WordPress admin directory by logging into your WordPress admin acco...
How to fix 500 internal server error ? There is no clear-cut solution to solve the 500 internal server error. You have to try various tips ...
How to change WordPress URL using phpMyAdmin in the DirectAdmin? The WordPress URL can be changed manually, by the use of phpMyAdmin from the DirectAdmin panel. To c...
How to set up caching for your WordPress website? With the use of Caching, your website's speed can be improved as it acts as the memory and saves som...
How to protect your Site from Brute force attacks? Hackers can upload malicious malware using brute force attacks. It can cause your site to become ina...

Categories

Website Maintenance 42
Website Maintenance Knowledge Base
SEO Services 40
SEO Services Knowledge Base
Website Design 51
Website design
Google Workspace 56
Set up Google Workspace for your team. Discover how to manage a team, migrate emails, share files, work from anywhere, and set up mobile management.
Billing 25
All type of billing information
Client Area Guide 1
Client Area Features
Delegate Access 10
Articles on Access Delegation for Third-party Platforms
Password Management 5
Password Management at Aarav Infotech India Pvt. Ltd.
WordPress 63
Knowledge base for WordPress

Shopping Cart

Your cart is empty