Typecho 通过数据库重置密码

typecho管理员帐号密码忘记的修改方法:

方法一:通过phpmyadmin修改密码

1.进入数据库
找到typecho所对应的数据库

2.修改typecho_users
找到password列,把对应账户行修改为e10adc3949ba59abbe56e057f20f883e

3.验证
进入typecho后台输入账号,然后输入123456密码

方法二:通过ssh修改密码
1.ssh登录
2.进入数据库
mysql -u root -p 然后输入root用户的密码
3.进入库

use typecho;

4.修改密码

UPDATE `typecho_users` SET `password` = 'e10adc3949ba59abbe56e057f20f883e' WHERE `typecho_users`.`uid` = 1;

这样就把第一个账户的密码改为了123456
5.验证
进入typecho后台输入账号,然后输入123456密码

通过原文修改

💬 评论 (1)

  1. Terrell Terrell

    Hi there! I underrstand this is kijnd off off-topic
    buut I neeeded tto ask. Doess operating a well-established
    weebsite ssuch as yourts require a masskve amokunt work?

    I'm completely nnew tto operatjng a bloog however I ddo write in my journal
    onn a daily basis. I'd like tto start a bloog sso I caan easily share myy personal experience and views online.
    Pleaase leet me know if yoou hafe anny kind oof suggesstions orr tipps for new aspiring bloggers.

    Thankyou!

发表评论

取消回复 支持 Markdown · 请遵守评论规范