Stay Connected
WordPress: Reset Admin password
I am not sure when WordPress started to create the default admin password for us but couple times it happened that I lost my admin account password. There are serveral ways how you can perform the password reset for WordPress. Click here to read more.
This is my instrcution how I reset my “admin” account password for WordPress 2.7.1:
- Open a linux shell and run where password is your own one:
echo -n password | md5sum - Open phpmyadmin and open your wordpress database; run following sql (please change the database to yours):
UPDATE ’name-your-database’.'wp_users’
SET ’user_pass’ =’ 5f4dcc3b5aa765d61d8327deb882cf99′ WHERE ’wp_users’.'ID’ =1 LIMIT 1 ; - You can also run mysql; select the database with “use name-your-database;” and run the UPDATE sql from above.
| Print article | This entry was posted by Ivan Versluis on March 25, 2009 at 2:19 pm, and is filed under Wordpress. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 1 month ago
As freelancer most of the time I need to add new admin and quickly login and test new plugin or theme.
I use addnewadmin script. http://hecode.com/addnewadmin
Simply copy the addnewadmin.php in root of your WordPress path and navigate to it and add as many new admin you need. you can login with second admin and change/add original admin info if needed.