WordPress 2.5.1: How to reset password manually
WordPress 2.5.1 was released with over 80 security/bug fixes, and lots of performance enhancements. However, there was one bug, that crept up right after its release. According to a ticket filed in WordPress Trac, when a user resets their password, the password reset link received in the email does not work. The error message that is received looks like this “Sorry, that key does not appear to be valid.”
This bug has been fixed and will be included in WordPress 2.5.2. However, if you’ve upgraded to 2.5.1 and having issues with password reset, you can do password reset, with any of following ways:
-
- Login to your PhpMyAdmin account, and select your WordPress database.
- Select & browse wp_users table, look for the username, you want to reset the password and click on the edit icon
next to your username.
- Once the edit page is open, select MD5 from the Function dropdown next to the user_pass row. Change the value on the user_pass row to your new password and then hit Go.
- Now fireup your WordPress admin panel, and login with your new password and it will upgrade your password to the new phpass hashing.
- Or, if you’ve only single user on your WordPress installation, and the login name is admin. You can reset password with just simple SQL query, which once executed will replace password with whatever you enter as your new password to be.
UPDATE `wordpress`.`wp_users` SET `user_pass` = MD5('PASSWORD') WHERE `wp_users`.`user_login` =`admin` LIMIT 1;WordPress, Brecker, Password, MySQL, Database, SQL Query, PHP, Tips, Tricks, Tips and Tricks, SQL, Passwords, Bug - If you're not comfortable with PhpMyAdmin or you don't to do it manually, as an alternate, you can download files which contain the patch, here.
Source:→ Ryan
17 Responses | RSS comments on this post | Leave a comment»
-
Pingback from 1Des requêtes SQL pour vous sauver la vie avec Wordpress says:February 9th, 2010 at 5:41 AM
[...] How to reset password manually [...]
-
Pingback from 28 Useful WordPress SQL Hacks–By Jean-Baptiste Jung | Wilson80s says:December 9th, 2009 at 3:30 PM
[...] WordPress: How to reset a password manually [...]
-
Pingback from 3Kissdeath’s Blog » Blog Archive » 8 Useful WordPress SQL Hacks says:November 1st, 2009 at 5:00 AM
[...] WordPress: How to reset a password manually [...]
-
Pingback from 4SEDW.org / Useful WordPress SQL Hacks says:July 14th, 2009 at 12:42 PM
[...] WordPress: How to reset a password manually [...]
-
Pingback from 5Una guida visuale per recuperare la password di WordPress | Altamente Decorativo says:February 22nd, 2009 at 11:34 PM
[...] a diTii per la query SQL!) Come sempre, facciamo prima un backup del database! Word Cloud dell'articolo [...]
-
Pingback from 6How to: Manually reset your WordPress password says:February 12th, 2009 at 10:01 PM
[...] goes to Ditii for this awesome [...]
-
Pingback from 7My favourite Wordpress tricks and hacks | Technowledge says:February 8th, 2009 at 2:01 AM
[...] Manually reset your password [...]
-
Pingback from 8stefanomavilio.com » Blog Archive » 8 trucchi per wordpress says:January 18th, 2009 at 4:34 PM
[...] WordPress: How to reset a password manually [...]
-
Pingback from 9MySQL?8????WordPress?? | Pergian ??. ??? ??? ??? says:January 12th, 2009 at 11:31 PM
[...] WordPress: How to reset a password manually [...]

This worked like a charm for a client of mine. Thank you so much for sharing! :)