Wordpress admin password recovery

How can I recover the Wordpress admin password? Upon creation of the 1 click Wordpress. Then somehow lost the password. I cannot login in the web wp-admin and get the dashboard.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, @alantorrecilhas

I’m glad that you’ve sorted this! :)

Regards, Alex

How can I recover my wp admin username thru terminal console (I forgot both, but I can recover password once I know the username).

I am using terminal console because I’m not able to open PhpMyAdmin in my browser, though my WP site is working ok. Can you guide for both of the cases?

Hi @jpippo,

With openlitespeed wordpress image, you can try method:

  1. resend the password, be aware that mail probably in the spam
  2. get mysql wordpress user password from cat ~/.db_password then you can follow above method to reset it
  3. Relaunch again since it won’t cause you more than 5 mins to do so.

Best, Eric