通过 SQL 重置 Wordpress 密码? [英] Reset Wordpress password via SQL?
本文介绍了通过 SQL 重置 Wordpress 密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将如何直接在数据库中更改 Wordpress 用户的密码?我注意到这不仅仅是一个 md5 的密码.开头有一个$P$B
How would I go about changing a Wordpress user's password directly in the database? I notice it's not just an md5'd password. There is a $P$B
at the start
谢谢,
推荐答案
自 v2.5 以来,WordPress 使用了 phpass
over md5()
用于在数据库中存储散列密码.
Since v2.5, WordPress has used phpass
over md5()
for storing hashed passwords in the DB.
但是,我认为您仍然可以使用标准的 MD5 哈希值在 MySQL 中重置密码.再次登录后,WordPress 将使用新算法升级"存储的哈希值.
However, I think you can still reset your password in MySQL with a standard MD5 hash. Once you've logged in again, WordPress will 'upgrade' the stored hash with the new algorithm.
这篇关于通过 SQL 重置 Wordpress 密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文