Did you install WordPress and forget to write down your login username and password? This happens from time to time. For whatever reason you got busy, or set it aside for a few weeks. When you finally come back to it you realize that you forgot to write down your login details, and now you can’t get in.
Don’t freak out yet, and don’t delete and wipe out all the work you have put into it already. Simply reset the admin password.
You will need to have access to your hosting control panel, and you will also need to have access to phpMyAdmin. Overall the process is fairly quick and simple.
Tools used in this tutorial:
- cPanel web hosting
- phpMyAdmin
How to Reset a WordPress Admin Password Video Tutorial
How to Reset A WordPress Admin Password
How to Reset the WordPress Admin Password
Step 1
Login to your hosts cPanel. Locate and click on phpMyAdmin to open it up.

Step 2
Once phpMyAdmin opens find and click on your database on the left side of the page. If you have more than one database, make sure you select the right one.

Step 3
You should see a page like the following. Find the “Table” column and scroll down until you find “wp_users”. Then, click on the “Browse” link or button for the “wp_users” table.

Step 4
Find the admin user and click on the “Edit” link or button.

Step 5
Locate the “user_pass”. Change the drop down function to “MD5″, and enter the new password that you want to use in the field/box right next to it.
In this example I am setting a new password: letmein
Then, click the “Go” button.

Step 6
Now return to the WordPress login page and login with your new password.
That’s it!
Remember:
Now make sure you write down your new login/password so you don’t forget it!
Additional:
Be sure to watch the video located near the top of this page for a complete step by step walk through to see how fast and easy it is to reset your WordPress password. It is just under 4:00 minutes long.






its awesome tutorial i need it thanks for this video tutorial and guide to us..
Hey Ray,
Now this has never happened to me of course because I ALWAYS write things down but I didn’t know how to do this through your hosting service.
Gosh I love to learn new things so thanks for sharing this. At least I know now should that ever happen. Wow, cool!
~Adrienne
Adrienne recently posted..How To Use Twitter To Your Advantage
There are a few more ways to reset a WordPress password, but I think this route is fairly simple. It might seem a little intimidating, but there is nothing too it.
I remember in the early days gosh that was a long time ago now, but I did forget my password for another non-WordPress site. I didn’t know nearly as much about this kind of thing back then. It took forever to figure out how to do it.
I know some people have said that they ended up deleting their whole WordPress site and had to start over because they couldn’t get in.
Hopefully this helps a few folks out there.
i don’t know that set the password on word press. share the information is good think.so i hope that important information share go ahead.
thank
anil bhogia recently posted..College Management System
I am not sure what you are saying. This doesn’t show you how to break into a site with a password. It just explains how to manually change a password in the database if you happen to forget or lose yours.
This is a very useful information for forgetful people like myself
Thanks for sharing.
I think this method should be use only if lost password feature not working, such as you forget which email you are using for your admin login.
Jeff recently posted..Creative Photo shoot Ideas
When you are handling multiple numbers of blogs, it not impossible for you to forget your passwords. This is the reason why I find this blog post really informative and helpful
Another tip is that the reset email may end up in your spam box so if you reset your password and it doesn’t arrive, check there. Also take a look at using a password manager. I’ve had good results with 1Password which also syncs via Dropbox for mobile devices.
Lorenzo recently posted..Why I Recommend and use WP Engine
Thanks its good for that who loose or forget their password .
Gaurav recently posted..WBCHSE Results 12th Class Results
Nice tip. In most of the cases I do give remember me in my firefox but if my PC crashes sometimes and I am not able to back up my passwords then it is havoc for me. I would even forget what email address I used for admin so requesting a new password was really painful. I would then have to go into DB and change the email and then give the forgot password. But this technique of yours does it even better as I can directly edit my password right there.
Keral Patel recently posted..Using SSH and its Commands
See that user_email field in the screenshot above? Just change the value to an e-mail address that you have access to. On the WP-Admin login screen, click “lost your password?” and type in the same e-mail address and you will receive a reset password link that will be easier than messing with MD5 hashing.
Sarah recently posted..My 1st n true luv
You could do that as well, but if you need to go into the database to do either you might as well just change the password field because it will be faster. If you change the email field. You would need to click the lost password then check your email.
By entering a new password into the user_pass field and selecting md5 it automatically converts it to a md5 hashed password all at the same time. No need to use an online md5 generator or anything like that. If you choose letmein for the password for example and selected md5 in the function drop down it will automatically convert letmein to a md5 hash, and your login password would be letmein.
You can change the email field instead and go that route too. Either way would work.