博客忘记密码解决办法(typecho)

<p> 1,登陆mysql</p><p> [root@iZ280eievsyZ ~]# mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 2371
Server version: 5.1.73 Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.

mysql> </p><p>
</p><p> 2,查看博客安装的表</p><p> mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| test               |
| typecho            |
| wordpress          |
| wp                 |
| wpdb               |
+--------------------+

3,进入typecho</p><p> <span>mysql> use typecho</span> </p><p>
</p><p> 4,查看表</p><p> mysql> select from typecho_usersG
1. row *
       uid: 1
      name: admin
  password: $P$BcmnzLXUnEFSRytoIsm1RGYdsXvEP01
      mail: usertzc@163.com
       url: http://www.linuxea.com/
screenName: mark
   created: 1434533225
 activated: 1436114094
    logged: 1436083914
     group: administrator
  authCode: 455454ee4e21355b90f4d0fb041ec56c
1 row in set (0.00 sec)</p><p>
</p><p style="color:#333333;font-family:微软雅黑, Verdana;font-size:14px;background-color:#FFFFFF;"> 5,然后用update typecho_users set password=‘你的密码’ where name='admin'</p><p style="color:#333333;font-family:微软雅黑, Verdana;font-size:14px;background-color:#FFFFFF;"> 即可。</p><p style="color:#333333;font-family:微软雅黑, Verdana;font-size:14px;background-color:#FFFFFF;"> </p><p>
</p>

0 分享

您可以选择一种方式赞助本站

支付宝扫码赞助

支付宝扫码赞助

日期: 2015-08-16分类: Sys Basics

标签: none

发表评论

仅有一条评论

加载中,请稍候...
  1. 小黑啊
    小黑啊
    August 24th, 2015 at 03:06 pm

    又升级了。