# How to reset your WHMCS admin password

> Reset a forgotten WHMCS admin password with the login page reset link, or through phpMyAdmin in cPanel if the email doesn't arrive.

Source: https://helpcenter.ruachost.com/vps/whm/how-to-reset-whmcs-admin-password/

The quickest way to reset your WHMCS admin password is the **Forgot password?** link on the WHMCS admin login page. If you can't receive the reset email, you can set a new password directly in the database with phpMyAdmin.

## Option 1: Use the reset link

1. Go to your WHMCS admin login page, for example `https://billing.example.com/admin/`.
2. Click **Forgot password?**
3. Enter your admin username or email address and follow the link in the email you receive.

## Option 2: Reset it in phpMyAdmin

> **Caution:**
Back up your WHMCS database before you edit it. See [Importing and exporting a MySQL database](https://helpcenter.ruachost.com/developers/databases/importing-and-exporting-a-mysql-database/).

1. Log in to cPanel.
2. In the **Databases** section, click **phpMyAdmin**. See [Accessing phpMyAdmin and phpPgAdmin](https://helpcenter.ruachost.com/cpanel/databases/accessing-phpmyadmin-and-phppgadmin/).
3. In the left panel, click your WHMCS database. If you're not sure which one it is, check the `db_name` value in the `configuration.php` file in your WHMCS folder.
4. Open the `tbladmins` table.
5. Find the row for your admin user and click **Edit**.
6. In the `password` row, choose **MD5** from the **Function** drop-down and type your new password in the **Value** box.
7. If the table also has a `passwordhash` column, delete its value.
8. Click **Go** to save.
9. Log in to WHMCS with your username and new password. WHMCS automatically upgrades the password to a more secure format when you log in.

Choose a strong password and change it again from **My Account** in WHMCS if you shared it with anyone while recovering access.

## Related articles

- [Resetting the administrator password in WHMCS](https://helpcenter.ruachost.com/add-ons/guides/resetting-the-administrator-password-in-whmcs/)
- [Removing a banned IP address in WHMCS](https://helpcenter.ruachost.com/add-ons/guides/removing-a-banned-ip-address-in-whmcs/)
- [Do you support WHMCS hosting?](https://helpcenter.ruachost.com/faq/guides/do-you-support-whmcs-hosting/)
