Why "wp-login.php" wordpress login is showing account doesn't exists

The main Issues is that I am entering the email address & password that I used in creating my WordPress site in digital Ocean but It shows that the email address & username doesn’t exist even I checked in my PhpMyAdmin “WordPress” “wp-user” and I am using the right email, username and password but still it shows that user doesn’t exist. However, I tried changing password by using “lost password” section but in that whenever I enter my username or email to get password reset link it shows user doesn’t exits, so what should I do to fix it, please help…

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.

Accepted Answer

Hi there @newwayelegant,

What I could suggest is using the wp-cli command to create a new user.

To do that you need to SSH to your Droplet then cd into your /var/www/html folder and run:

  1. wp user create your_user --role=administrator

Let me know how it goes! Regards, Bobby

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.