mysql 的bin 目录输入 mysqld -nt --skip-grant-table可以不用密码进入
修改密码 update mysql.user set authentication_string=password('123456') where user='root';
本文介绍了一种在MySQL中使用特定命令实现免密码登录的方法,并演示了如何通过SQL语句重置root用户的密码。
mysql 的bin 目录输入 mysqld -nt --skip-grant-table可以不用密码进入
修改密码 update mysql.user set authentication_string=password('123456') where user='root';
487

被折叠的 条评论
为什么被折叠?