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

2023年 7月 16日 20.4k 0

1,登陆mysql

[root@iZ280eievsyZ ~]# mysql -uroot -pEnter password: Welcome to the MySQL monitor.  Commands end with ; or g.Your MySQL connection id is 2371Server version: 5.1.73 Source distributionCopyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.mysql> 

2,查看博客安装的表

mysql> show databases;+--------------------+| Database           |+--------------------+| information_schema || mysql              || test               || typecho            || wordpress          || wp                 || wpdb               |+--------------------+3,进入typecho

mysql> use typecho

4,查看表

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: 455454ee4e21355b90f4d0fb041ec56c1 row in set (0.00 sec)

5,然后用update typecho_users set password=‘你的密码’ where name='admin'

即可。

相关文章

服务器端口转发,带你了解服务器端口转发
服务器开放端口,服务器开放端口的步骤
产品推荐:7月受欢迎AI容器镜像来了,有Qwen系列大模型镜像
如何使用 WinGet 下载 Microsoft Store 应用
百度搜索:蓝易云 – 熟悉ubuntu apt-get命令详解
百度搜索:蓝易云 – 域名解析成功但ping不通解决方案

发布评论