#mysql -uroot -p
输入密码
mysql>use mysql;
mysql>update user set password=passworD("NEWPASSWORD") where user='root';
mysql>flush privileges;
mysql>exit;
MySQL修改密码
最新推荐文章于 2024-01-17 17:32:52 发布
#mysql -uroot -p
输入密码
mysql>use mysql;
mysql>update user set password=passworD("NEWPASSWORD") where user='root';
mysql>flush privileges;
mysql>exit;