忘记Mysql密码怎么办

1、打开常用的Mysql管理工具
2、这里只是用Navicat举个例子
3、打开mysql数据库
修改密码为123456

update user set authentication_string=password('123456') where user='root' and host='localhost';
posted @ 2023-11-22 22:15  孤沉  阅读(11)  评论(0编辑  收藏  举报