Report this

What is the reason for this report?

I can't login to my wp-admin site.

Posted on May 18, 2015

Even if I go to the console, I can’t login. (root and pswd)

From the blog.website.com/wp-admin, the login window is displayed but the login and pswd I’ve always used does not work. Nothing has changed. In fact I have not posted in over a month.

How can I reset the userid/pswd?



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!

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.

You can reset the root password for your droplet from the control panel. A new temporary password will be emailed to you. You’ll then need to log in via ssh or the console and set a new permanent password to replace the temporary one.

Once you’ve regained shell access you should investigate. Your root password will not change on it’s own and unfortunately WordPress sites are a prime target for attackers. You’ll need to make sure your droplet is not compromised.

There are several methods available then to reset your WordPress user’s password.

Hello there,

If you’re having issues accessing the WordPress admin area and you want to reset the administrator password you can check the following article on How to Reset a WordPress Admin Password Via the Command Line Using WP-CLI

In this tutorial, you’ll learn how to retrieve or reset your WordPress admin password from the command line using WP-CLI, a tool that allows users to manage WordPress blogs from a terminal.

https://www.digitalocean.com/community/tutorials/how-to-reset-wordpress-admin-password-via-the-command-line-using-wp-cli

You can check this question which I’ve created for resetting the WordPress admin password via the MySQL console:

https://www.digitalocean.com/community/questions/reseting-wordpress-admin-password-via-the-command-line-terminal

Hope it helps!

hello try changing your password with mysql from the command line; it worked for me

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.