WordPress密码忘了的解决办法

来自http://tunps.com/wordpress-password-forgetting-solution

wp的密码在存入数据库时 转为md5码 根据此原理我们可以手动update数据库 设置自定的密码

mysql> update wp_users set user_pass = md5("xxx") where user_login = "admin";

wp_users为数据库中的那张用户表

xxx改为你自己的密码  注意这里是你的真是的密码而不是你加密后的密码。。!!

这几天wordpress的使用让我学到了很多mysql的东西 。。THX 。。

 

About tunpishuang

just 4 fun·····
This entry was posted in 未分类 and tagged . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>