1、第一步,停止mysql

3、上一个CMD窗口不要关闭,打开一个新的CMD的窗口

5、设置新密码:update user set authentication_string=password('新密码') where user='用户名';

7、无误后退出,至此修改完成

时间:2024-10-13 19:52:52
1、第一步,停止mysql
3、上一个CMD窗口不要关闭,打开一个新的CMD的窗口
5、设置新密码:update user set authentication_string=password('新密码') where user='用户名';
7、无误后退出,至此修改完成