Reset Wordpress password via SQL?

后端 未结 5 693
暗喜
暗喜 2020-12-11 03:38

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

5条回答
  •  借酒劲吻你
    2020-12-11 04:07

    Since v2.5, WordPress has used phpass over md5() for storing hashed passwords in the DB.

    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.

提交回复
热议问题