You can regain WordPress admin access without a password or email by resetting the credentials directly inside phpMyAdmin through your hosting control panel, or by adding an emergency login snippet via cPanel/FTP
Method 1: Reset the Admin Password via phpMyAdmin
- Access your hosting account (such as cPanel or your host’s dashboard) and open phpMyAdmin. [1]
- Select your site’s database (you can confirm the database name by checking
wp-config.phpvia your File Manager). [1] - Click on the
wp_userstable (your table prefix might be slightly different, e.g.,wp_xyz_users). [1] - Find your administrator row and click Edit. [1]
- Locate the
user_passfield:- In the function dropdown menu next to
user_pass, select MD5. - In the value input box, delete the hashed text and type your new plain-text password. [1]
- In the function dropdown menu next to
- Click Go / Save at the bottom of the page. You can now log into your WordPress dashboard using that username and new password. [1, 2]
