How to recover lost username?

I have a blog (www.ahsrocketlaunch.org) and need to update to the latest version of wordpress. However, I cannot remember the username I used to set up the wordpress account. therefore, I can't access the account to update WordPress. Is there any way to do this?

Topic username Wordpress

Category Web


By default, WordPress redirects author=id query to author/username and in most cases user with id 1 is the admin. So, you can get the username of admin by following this url:

example.com/?author=1

and viewing the redirected url.


There are a few easy steps to take:

  1. Go to your host management panel (GoDaddy docs here) and open phpMyAdmin.
  2. Navigate to your WordPress installation database
  3. Navigate to the wp_users table and you will see all of your users and email information
  4. Go to your WP installation login screen and reset your password there with the username you see in the database

You can also change your password within phpMyAdmin. Check out my post here to see how that works.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.