Forgot the wp login password and don't know how to change it

I need some help with my WordPress site. I’ve forgotten my wp-admin login password and, unfortunately, I no longer have access to the email that was used for the account. I’m working on this site locally using the Local app. Can anyone guide me on how to change the admin password directly from the database or any other method to regain access to my WordPress dashboard? Any step-by-step instructions would be greatly appreciated. Thanks in advance for your assistance!

Hi @aayush

We have a guide here to help with this! You can use the Open Shell and CLI command to either create a new user or update the password for your existing user:

I wanted to give a big thank you to Nick-B for the helpful suggestion! My problem with the forgotten wp-admin login password has been fixed thanks to your guidance. I appreciate the support and quick response from the community. Thanks again!

1 Like

Glad to hear it @aayush! Thank you for reaching out :sunglasses:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.