Cloud Service >> Knowledgebase >> cPanel >> Six Simple Steps to Reset Your WHMCS Admin Password
submit query

Cut Hosting Costs! Submit Query Today!

Six Simple Steps to Reset Your WHMCS Admin Password

WHMCS (Web Host Manager Complete Solution) is a popular billing and automation platform used by web hosting providers. It manages everything from customer billing to support ticket management, and it’s crucial for hosting providers to maintain access to their WHMCS admin panel for smooth operations. However, there are times when the admin password might be forgotten or lost. If you're running a server and using WHMCS for managing clients, here's a step-by-step guide on how to reset your WHMCS admin password to regain access to your system.

Step 1: Access Your Hosting Server

To reset the WHMCS admin password, you need to have access to the hosting server where your WHMCS is installed. This access is crucial, as you will need to edit configuration files or use command line access to make the necessary changes. Log in to your server using SSH if you’re using a cloud-based or dedicated server, or use the hosting control panel if you’re working with shared hosting.

Ensure that you have administrative or root access to the server, as this is necessary for performing the reset.

Step 2: Locate the WHMCS Database

WHMCS stores its user information, including admin credentials, in a database. To reset the password, you need to locate this database. If you’re using cPanel or a similar hosting panel, you can access the database through the hosting control panel. Here’s how:

Log into your hosting control panel (like cPanel) and open phpMyAdmin.

Locate the database associated with your WHMCS installation. This is typically named something related to WHMCS, such as whmcs_db.

If you're using a cloud-based solution or managing your own server, you can access the database via SSH by connecting to the MySQL server.

Step 3: Identify the Admin User Table

Once you have accessed the database, you need to locate the table that contains the admin user information. This table is usually called tbladmins. It stores the usernames and passwords for all administrative accounts within WHMCS.

In phpMyAdmin, click on the database name to view all the tables.

Find and click on the tbladmins table. This will show you a list of all admin users who have access to the WHMCS admin panel.

Step 4: Modify the Admin Password

Once you have located the tbladmins table, follow these steps to reset the password:

In the tbladmins table, find the admin user account for which you want to reset the password.

Click the Edit button next to the user.

In the password field, you will see the hashed password. WHMCS stores passwords in a hashed format for security reasons.

To reset the password, you can either replace the current hash with a new one or manually set a password using the MD5 hashing function. To do this:

Enter your new password in the password field.

Use a hashing function such as MD5 to encrypt the new password. Many databases, including phpMyAdmin, offer an option to hash the password for you.

Save the changes to update the password.

If you're using a server or a cloud-based hosting solution, you can do this using a MySQL query such as:

UPDATE tbladmins SET password = MD5('new_password') WHERE username = 'admin_username';

Step 5: Clear Cache (If Necessary)

After updating the password, clear the cache to ensure the changes take effect. You can do this by navigating to the cache folder in your WHMCS installation directory and deleting its contents. Alternatively, if you're using a server or cloud hosting, clear the cache through the command line or the WHMCS admin panel.

Step 6: Log in to WHMCS Admin Panel

After completing the password reset, you should be able to log in to the WHMCS admin panel using the new password. Visit the WHMCS admin login page, enter your username and the new password you set, and ensure that you can access the system without issues.

In the event that you continue to face difficulties, make sure that your server and hosting environment are properly configured and that there are no additional security restrictions blocking access.

Conclusion

 

Resetting your WHMCS admin password is a relatively simple process, but it requires a good understanding of how to access and manage your server and database. By following these six steps, you can regain control of your WHMCS admin panel and continue managing your hosting environment without disruption. Always ensure that your server and hosting environments are secure, and remember to store passwords securely in the future to avoid similar issues. Regular backups and good password practices can also help prevent problems with lost or forgotten credentials.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!