It doesn’t matter what application your working with, losing your password is always a pain in the ass. Luckly if you are working with wordpress (man, I blog a lot about wordpress these days), on your server and you have access to the MySql database, resetting your password manually is a snap.
- Login to your PhpMyAdmin
- Select your WordPress database and click on the “SQL” button to open the SQL query window.
- Paste the following code in the window textarea. (Don’t forget to modify the password and username before executing it)
UPDATE ‘wp_users’ SET ‘user_pass’ = MD5(‘PASSWORD’) WHERE ‘user_login’ =’admin’;
That’s it! Your password has been reset, and you should be able to login to your wordpress admin area once again.