How to Change WordPress Password in CPanel

Changing your WordPress password through cPanel is a simple and secure process. This guide will walk you through the steps to reset your password directly from the database. Whether you’ve forgotten your password or want to increase security, learn how to navigate cPanel’s interface and locate the necessary tools for a smooth password change. Let’s dive right into easy steps on how to change WordPress password in cPanel.

How to Change WordPress Password in CPanel

Step 1: Log into cPanel

To begin, you will need to access your cPanel account. This can typically be done through your web hosting provider or by typing “” into your browser’s address bar. Once logged in, you can access all the tools and features within cPanel.

Step 2: Access phpMyAdmin

Once logged in, look for the “Databases” section and click “phpMyAdmin.” This tool allows you to manage your website databases. For example, in Namecheap, scroll to the “Databases” section and click “phpMyAdmin.” You may need to search for the tool within the search bar for other hosting providers.

To access phpMyAdmin in DreamHost, first log in to your DreamHost panel. Under ‘Websites’ on your left sidebar, click on ‘MySQL Databases’. Your database details will be visible on the right-hand side. For phpMyAdmin, enter your hostname, username, and password to log in.

Tip: Remember, every hosting company may have a slightly different layout, so don’t be discouraged if you can’t find exactly how to access phpMyAdmin. You can also check with your hosting provider for specific instructions.

Step 3: Select the WordPress Database

On the left-hand side, you’ll see a list of databases. Click on the one associated with your WordPress site. If you’re unsure, check your wp-config.php file for the database name. Mostly, it will have “wp” followed by numbers or your website name.

Step 4: Open the Users Table

Look for a table named “wp_users” in the database and click on it. Here, you’ll find all the users associated with your WordPress site.

Step 5: Edit User Details

Find your username and click on the “Edit” button next to it. This should be the first user in the list unless it is changed.

Step 6: Change the Password

In the user_pass field, type your new password in the ‘value’ column. In the ‘function’ column, select MD5 from the dropdown. This is to ensure that your password is stored securely.

Step 7: Save Changes

After entering your new password, scroll to the bottom and click the “Go” button to save your changes.

Tip: You can take advantage here and change your username, email address, or any other details associated with your account. Just click on the “Go” button after making changes.


You have successfully changed your WordPress password through cPanel! Remember to keep your login details safe and secure. You can now log in to your WordPress account using the new password you have set.


Changing your WordPress password through cPanel is a quick and easy process that can help protect your website from potential security threats. Be sure to follow these steps on how to change WordPress password in CPanel carefully, and remember that every hosting provider may have a slightly different process for accessing cPanel and phpMyAdmin. 

If you have any trouble, contact your hosting provider for assistance. Stay safe and secure by regularly changing your WordPress password! So, take this simple yet crucial step in keeping your website safe from potential security threats. Keep exploring cPanel’s features to ensure that your website runs smoothly and securely at all times. Happy WordPressing!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top