Alternate Way to Change My Wordpress Login

Linode Staff

Hi, I need help changing my Wordpress login. I can't seem to be able to do it. I keep getting the message: The email could not be sent. Possible reason: Your host may have disabled the mail () function.

3 Replies

I'm sorry to hear that you're unable to reset your Wordpress password. The cause for why your Linode isn't sending email could mean a lot of things.

I looked into other possible ways to reset the password, and it looks like the best option if you're in a rush and don't have the time to troubleshoot your mail server would be to manually access the database on your Linode and edit it there. I found this resource on the Wordpress Codex, which works as their Community site. It explains how to reset a password through the Wordpress Command Line tool:

If you don't already have the Wordpress CLI, this page should direct you on how to get this:

In short, you can reset your admin password by ssh to host, and cd into respective wordpress site
wp user reset-password admin

If you have forgotten username, then you can get it by
wp user list

user_login is the username, which should replace admin in reset-password command.

The "Resetting Your WordPress Password" link that @watrick mentioned no longer seems to resolve, but here's the new URL:

Resetting Your Password

This WordPress help page will walk you through changing a user password through the Admin screen, a forgotten password email link, the MySQL command line, phpMyAdmin, FTP, and the WP-CLI.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct