blog

How to Change & Reset WordPress Admin Password (Dashboard, Email & phpMyAdmin 2026)

RM
Raj Mehto Hosting & Infrastructure Analyst
Jun 25, 2023 8 min read
How to Reset WordPress Admin Password 2026 Guide

Getting locked out of your own WordPress administrative dashboard is one of the most frustrating experiences a website owner can face. Whether you forgot your password, your administrator email is not receiving the password reset link, or you suspect your admin account was compromised, there is no need to panic.

Because your WordPress installation is hosted on HeroHosty, you retain 100% root-level database access through your cPanel control panel. Even if your WordPress site is completely refusing to send emails, you can reset your password directly from the MySQL database in under 2 minutes.

In this 2026 comprehensive emergency guide, we cover 3 proven methods to change or reset your WordPress admin password: from the standard WP-Admin dashboard, via email reset, and through cPanel phpMyAdmin.

🧭

Which Password Reset Method Should You Choose?

  • Method 1 (Standard): Use if you are currently logged in to your WordPress dashboard.
  • Method 2 (Email Link): Use if you are logged out but have access to your registered admin email.
  • Method 3 (phpMyAdmin Emergency): The guaranteed fix when you are completely locked out and reset emails are failing!

Method 1: Change Password from Inside WordPress Dashboard

If you still have administrative access to your WordPress dashboard and simply want to update your password:

  1. Log in to your WordPress dashboard (browse to https://yourdomain.com/wp-admin/).
  2. In the left sidebar, navigate to Users → Profile (or All Users and click edit on the target user).
  3. Scroll down to the Account Management section.
  4. Click the “Set New Password” button. WordPress will generate a secure password for you, or you can type your own custom password.
  5. Scroll to the very bottom and click the blue “Update Profile” button to save changes.

Method 2: Reset via “Lost your password?” Link

If you are logged out but remember your username or administrator email address:

  1. Go to your WordPress login screen: https://yourdomain.com/wp-login.php.
  2. Click on the “Lost your password?” link located below the login box.
  3. Enter your registered username or admin email address.
  4. Click Get New Password. Check your inbox (and spam/junk folder) for a secure reset link from WordPress. Click the link to define a new password.

Method 3: Emergency Reset via cPanel phpMyAdmin (100% Guaranteed)

If your WordPress site’s mail function (wp_mail) is not configured, email delivery is blocked, or your admin email was changed by an attacker, you can reset your password directly in the database using phpMyAdmin:

  1. Log in to your cPanel account (via the HeroHosty Client Area).
  2. Under the Databases section, click on phpMyAdmin.
  3. In the left-hand column, click on your website’s WordPress database name.
  4. Locate and click on the wp_users table (if you use a custom database prefix, it may look like wp_xyz_users).
  5. Find your administrator username row and click Edit.
  6. Look for the row labeled user_pass:
    • In the Function column dropdown, select MD5 (CRITICAL: WordPress uses MD5 encryption for database passwords).
    • In the Value column, erase the existing hashed text and type your desired new password (e.g., MySuperSecurePass2026!).
  7. Scroll to the bottom and click the “Go” button. phpMyAdmin will encrypt your password and update the database row.
  8. Visit yourdomain.com/wp-admin and log in with your new password immediately!

Recommended WordPress Hosting Plans with Automatic Backups

Single Shared Hosting

Ideal for personal blogs, starter sites, and portfolios.

βœ“ 1 Website
βœ“ 10 GB Enterprise NVMe
βœ“ Unmetered Bandwidth
βœ“ Free SSL & cPanel

€0.97 /month

Deploy Single Plan β†’

Premium Shared Hosting

Max performance for web agencies and high-traffic portals.

βœ“ Unlimited Websites
βœ“ Unlimited NVMe SSD
βœ“ 3 CPU Cores & 6 GB RAM
βœ“ VIP 24/7 Support & Backups

€2.93 /month

Deploy Premium Plan β†’

Frequently Asked Questions (FAQ) : Resetting WordPress Passwords

1. Why is it essential to select MD5 when updating password in phpMyAdmin?

WordPress does not store passwords in plain text. Selecting the MD5 hashing function encrypts your password into a hash that WordPress can verify upon your next login.

2. Why am I not receiving the WordPress password reset email?

Default PHP mail may be flagged as spam by mail providers. We strongly recommend configuring an SMTP plugin (like WP Mail SMTP) using your HeroHosty business email account for 100% inbox delivery.

3. Can I reset my WordPress password via WP-CLI?

Yes. If you have SSH terminal access, run: wp user update <username> --user_pass=<newpassword> to reset it in 2 seconds.

Share this article:
RM

About Raj Mehto

Senior Infrastructure & Cloud Hosting Analyst at HeroHosty. Dedicated to conducting independent speed benchmarks, server hardware evaluations, and actionable hosting advice for Indian website owners.

πŸš€ Fast NVMe Web Hosting

Ready to Experience Lightning-Fast Website Speeds?

Deploy your website on HeroHosty's LiteSpeed NVMe servers starting at just β‚Ή69/month (on 3-year plan) with free cPanel, free SSL, and 24/7 instant WhatsApp support.

Explore HeroHosty Hosting Plans β†’