Reset Your Lost WordPress Password without Breaking a Sweat

7 Easy Steps to Setting a New WordPress Admin Password

Panic!

You forgot the Admin password to your WordPress site, and when you try to get it sent to you, it doesn’t work!

What are you going to do? You’re the ADMINISTRATOR!

Not to worry. There is a relatively simple process you can go through to reset your lost WordPress admin password. This process involves going into your WordPress database, and that may sound a little scary to some, but trust me when I tell you this is a very simple, straight-forward procedure.

Cpanel – Do You Have Access?


You will need to log into your Cpanel with this tutorial. If you do not have Cpanel, then you will need to find your way to your WordPress database. If you do not have access to Cpanel with your host, then you will need to call your webhost and ask them to help you reset your password.

Step 1 – Get Password Encrypted

Passwords in the WordPress database are  encrypted with a system called MD5. In other words, when you look at passwords in your database, you don’t see the actual passwords. You see a long string of letters, numbers, and symbols.

So the first thing you will need to do is to go get your password encrypted in the MD5 format.  You can search for a tool that helps you do that. Or you can go to the following site:

http://www.iwebtool.com/md5

When you put in your password and hit the “Encrypt!” button, you should get an encrypted version of your password that’s a big long string of numbers and letters and maybe some symbols that looks something like this: 34719d$beeabb9260a5c854bc85b3e44.

OK, save that encrypted password for now. We’re going to use it in a few minutes.

Step 2 – Log Into Cpanel

Log into your Cpanel.  You can access your Cpanel by going to yourdomain.com/cpanel.

(Note: It is a good idea to back up your database before going into it and changing things. Although changing your password is very simple, you never know what might happen. You might find yourself clicking and deleting things like a madman for no apparent reason.)

Follow this short process to back up your database from within Cpanel.

Step 3 – Open phpMyAdmin

Find the icon titled phpMyAdmin and click that to open it.

Step 4 – Open Your Database

Find your database on the left hand side.

The name of your database should look something like myname_wrdp1. If you have more than one database, then you will need to choose the right one. For example, if you have three different WordPress installs on your site, you will have a choice of databases that might look something like this:

  • myname_wrdp1
  • myname_wrdp2
  • myname_wrdp3

Most people will probably only have one, however.

When you find your database, click it.

Step 5 – Open WP_Users Table

Find the “database table” called wp_users on the left hand side and click that.

Step 6 – Find User

Find the user you want to edit (in this case we’re editing the “admin”), and then click “Edit” on the left hand side.

Step 7 – Replace Password

Find the old encrypted password (in the user_pass row), replace that with your new encrypted password (that you got in Step #1 above), and click “Go” at the bottom to save it.

Finito

And that’s it. If something doesn’t work for some reason, then just go through the steps again.

(p.s. You might want to bookmark this post. No one ever plans on being locked out of their own site, but you never know when it might happen.)

 

 

(Thanks to skippyjon for the image.)

Featured Plugin - WordPress Wiki Plugin

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

Featured Plugin - WordPress Infinite SEO Plugin

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

Featured Plugin - WordPress Appointments Plugin

Take, set and manage appointments and client bookings without having to leave WordPress. Appointments+ makes it easy.
Find out more

Featured Plugin - WordPress Membership Site Plugin

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more

Featured Plugin - WordPress Newsletter Plugin

Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more

Featured Plugin - WordPress Google Maps Plugin

Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more

Featured Plugin - WordPress Ecommerce Shopping Cart Plugin

Out of all the WordPress ecommerce plugins available, MarketPress has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
Find out more

Featured Plugin - WordPress Pop-Up Chat Plugin

No javascript required, no third part chat engine, just fully featured chat right in your own database on your own WP sites - couldn't be easier.
Find out more

Featured Plugin - WordPress Q&A Site Plugin

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

Comments (11)

  1. This all well and good if you have cpanel w/ phpmyadmin installed. If you don’t then and you are not db adebt you may need to hire a professional. Just keep in mind that if you do it should take less than an hour to fix. So don’t over pay.

  2. @ Mike, I would think that a large majority of people running wordpress have phpMyAdmin installed.

    I have also found that you don’t need to encrypt your password first, simply enter your password in the field mentioned above, then in the function drop down next to where you entered your password, choose MD5.

    VOILA!

  3. @Richard – Not sure what’s happening for you. Changing the password in the database is changing it at the most primary source. Something may be corrupted for you. You might try contacting your web host to see if they can help.

  4. You have used an encryption method that isn’t work in the versions , So If you have an access to your FTP account write this code in a php file and upload it to your root , the code is :

    HashPassword($password);
    }
    echo wp_hash_password(“your new password”);
    ?>

    The echoed text is the encryption value of your password, you can replace it then with the old stored value in the database

Participate