use mysql;
update user set password=password(‘root‘) where user=‘root‘;
flush privileges;
修改root用户的密码为root
然后点击运行,就修改成功啦!
时间: 2024-11-04 02:55:29
use mysql;
update user set password=password(‘root‘) where user=‘root‘;
flush privileges;
修改root用户的密码为root
然后点击运行,就修改成功啦!