I lost the password for the wordpress dashboard. I can login as root to the droplet via SSH. I am using the wordpress 1-click install (Ubuntu 16.04) on my droplet. I have no mail server setup. How do I reset the dashboard user and password via command line from the root account?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Greetings,
You could use phpmyadmin or something like that and change the admin e-mail and click reset password if you’ve set a dummy e-mail. I know this isn’t really the answer to your question but since i don’t know that one i’ve come up with the next best thing.
Kind Regards, Alex
Thanks, Alex! Much appreciated. That worked. Actually, a proper google search for “wordpress reset dashboard users from command line” also yielded the exact answer to my question.
Hi in one click install, we do not get phpmyadmin installed, do we? i need to reset my password and have one-click install please assist
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.