Monday, April 16, 2007

reset admin password in wordpress

reset admin password in wordpress

Open phpMyadmin, and click on the users table in the left menu (it could be wp_users, or yourprefix_users)
Click "Browse"
Click on the edit button next to the admin user.
Delete whatever is in the password field.

generate md5 of ur required password using md5 function in php

Paste the hash in the password field for admin
Save the info in the database.
Login to Wordpress using "admin" and the password you used to create the hash.



No comments:

Post a Comment