kieranbarnes Independent PHP, WordPress & CubeCart Programmer

[Snippet] Manually reset a WordPress password

Posted on May 19, 2010

WordPress stores user passwords in MD5 checksums, so using your SQL admin tool of choice you can easily reset it.

  1. UPDATE `wp_users` SET `user_pass` = MD5('NEW PASSWORD') WHERE `wp_users`.`user_login` = "THE USER" LIMIT 1

Related posts

  1. [Snippet] Programmatically add a WordPress User
    Here's how I would programmatically add a WordPress User...
  2. [Snippet] Shopp Carousels & Slideshows
    Carousels & Slideshows in Shopp can be a little tricky, the documentation isn't 100%. or...
  3. [Snippet] Allow mysql root access from anywhere
    A small annoyance of mine is on local development servers, I can't login to the...
  4. Reset MySQL password on Ubuntu in about 1 second*
    * It may take a little longer depending on your server and finger speeds! dpkg-reconfigure...
  5. How to move WordPress directory or server – properly
    I ran into an annoying, but easily avoided problem the other day. When moving a...

Tagged as: , Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.