zoukankan      html  css  js  c++  java
  • 禅道admin忘记密码

    禅道admin忘记密码

    1.  
      /opt/zbox/run/mysql/mysql -uroot -p
    2.  
      禅道数据库root默认密码123456
    1.  
      MariaDB [(none)]> show databases;
    2.  
      +--------------------+
    3.  
      | Database |
    4.  
      +--------------------+
    5.  
      | information_schema |
    6.  
      | mysql |
    7.  
      | performance_schema |
    8.  
      | zentao |
    9.  
      | zentaobiz |
    10.  
      | zentaopro |
    11.  
      +--------------------+
    12.  
      6 rows in set (0.00 sec)
    13.  
       
    14.  
      MariaDB [(none)]> use zentao;
    15.  
      Reading table information for completion of table and column names
    16.  
      You can turn off this feature to get a quicker startup with -A
    17.  
       
    18.  
      忘记admin密码后,修改zt_user表
    19.  
       
    20.  
      MariaDB [zentao]> select id,account,password from zt_user;
    21.  
      +----+---------+----------------------------------+
    22.  
      | id | account | password |
    23.  
      +----+---------+----------------------------------+
    24.  
      | 1 | admin | 070b17106ddfd497e1018e6a9990fb5f |
    25.  
      +----+---------+----------------------------------+
    26.  
      1 row in set (0.00 sec)
    27.  
       
    28.  
      MariaDB [zentao]> update zt_user set password='e10adc3949ba59abbe56e057f20f883e' where id=1;
    29.  
      Query OK, 1 row affected (0.00 sec)
    30.  
      Rows matched: 1 Changed: 1 Warnings: 0
    31.  
       
    32.  
      MariaDB [zentao]>
    33.  
       
    34.  
      e10adc3949ba59abbe56e057f20f883e即:123456
  • 相关阅读:
    Linux之cd、pwd、mkdir、rmdir
    Linux之目录结构配置
    Linux之chgrp
    Linux之chown
    Linux之chmod
    Linux之用户组、文件权限详解
    Linux命令之shutdown
    Linux命令之man
    Git-.gitignore配置
    Linux内核移植到JZ2440
  • 原文地址:https://www.cnblogs.com/xiangzideheiniu/p/12564266.html
Copyright © 2011-2022 走看看