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
15 Responses | RSS comments on this post | Leave a comment»
-
Pingback from 1Kissdeath’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 2SEDW.org / Useful WordPress SQL Hacks says:July 14th, 2009 at 12:42 pm
[...] WordPress: How to reset a password manually [...]
-
Pingback from 3Una 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 4How to: Manually reset your WordPress password says:February 12th, 2009 at 10:01 pm
[...] goes to Ditii for this awesome [...]
-
Pingback from 5My favourite Wordpress tricks and hacks | Technowledge says:February 8th, 2009 at 2:01 am
[...] Manually reset your password [...]
-
Pingback from 6stefanomavilio.com » Blog Archive » 8 trucchi per wordpress says:January 18th, 2009 at 4:34 pm
[...] WordPress: How to reset a password manually [...]
-
Pingback from 7MySQL?8????WordPress?? | Pergian ??. ??? ??? ??? says:January 12th, 2009 at 11:31 pm
[...] WordPress: How to reset a password manually [...]
-
Pingback from 8World @ Brain » Blog Archive » 8 Useful WordPress SQL Hacks says:January 1st, 2009 at 7:43 am
[...] WordPress: How to reset a password manually [...]
-
Pingback from 98 Useful WordPress SQL Hacks | Web Hosting and Domains says:December 31st, 2008 at 12:19 pm
[...] WordPress: How to reset a password manually [...]

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