How to reset WordPress admin password ?

Posted By: KP On January 9, 2011 Under Blogging, Internet Categories


If your WordPress blog gets hacked, the hacker may change password and admin email as well. E-mail password reset method may not work. That time you need to change wordpress password from database.

Every host provides MySQL editor, phpMyAdmin. You need to launch phpMyAdmin from your cpanel. (Tip: It’s always better to have different password for hosting and wordpress admin.)

php-my-admin-logo

Step 1: In phpMyAdmin go to your wordpress database.

Step 2: From left panel select users table. usually wp_users , assuming wp_ is your prefix.

wordpress-tables

Step 3: Edit your desired username by clicking pen icon from the row.

wordpress-admin-password

Step 4: Go to Md5 hash generator and generate a Md5 hash for your password. ( WordPress passwords are stored as Md5 hashes, it is recommended to change your password if you were hacked)

md5-encrypt

md5-hash

Step 5: Copy the generated Md5 hash(highlighted above) . Go to page opened in step 3 in phpMyAdmin.

Step 6: Paste the copied hash into “user_pass” column and press Go.

php-my-admin-edit

You’re done. Go to your login page and login with new password. Happy blogging.



Share with Friends ( Sharing is Caring! )


Subscribe For E-mail Notification Of Article Updates

Enter your email address:

NOTICE:
DO NOT FORGET TO CLICK ON THE VERIFICATION LINK AFTER SUBSCRIBING,THE VERIFICATION MAIL WILL BE SENT TO YOU FROM "FeedBurner Email Subscriptions".
( What is this? Why I need to do this?)

Related Posts

Post a Comment

OR