排名
17
文章
40
粉丝
16
评论
21
Linq or Sql 取树末级节点
剑轩 : 这个方法是真的帅!
Python实例 2-12306抢票(二) 下单
18335584353 :
哥。我也是总返回url":"/leftTicket/init","...
Python实例 2-12306抢票(一) 登陆
瑾语 : 第三次评论
Visual Studio小技巧
剑轩 : [斜眼笑][斜眼笑]开会完了认真看了一遍
C#网络流读取(图片)
风清月 : 把一个图片放到字节数组里边[发呆](`・ω・´)
C#与Java二进制编码转换,补码
风清月 : 我勒个擦.....有时间这种问题很坑很难发现哇o(╥﹏╥)o
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2025TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:
50010702506256


欢迎加群交流技术

原理:通过跳过表授权,跳过密码直接在表里更新密码
1. 找到my.ini一般在
- C:\Program Files\MySQL\MySQL Server 5.7\bin
1
2
3
4
5
6
7...
[mysqld]
# The next three options are mutually exclusive to SERVER_PORT below.
# skip-networking
# enable-named-pipe找到这个片段,改为
1
2
3
4
5
6
7...
[mysqld]
skip-grant-tables
# The next three options are mutually exclusive to SERVER_PORT below.
# skip-networking
# enable-named-pipe2. 重启mysql服务
管理员打开命令行,密码不用输入直接回车
1
2
3
41.mysql -u root -p
2.update mysql.user set authentication_string=password('654321') where user = 'root';
3.flush privileges;
4.exit
效果:
1 | C:\Program Files\MySQL\MySQL Server 5.7\bin>mysql -u root -p |
完了重启数据库服务!
欢迎加群讨论技术,1群:677373950(满了,可以加,但通过不了),2群:656732739
评价