标签:编辑 root密码 flush 权限 bsp 密码 mysq upd where
用UPDATE直接编辑user表
mysql -u root
mysql> use mysql;
mysql> UPDATE user SET Password = PASSWORD(‘newpass‘) WHERE user = ‘root‘;
mysql> FLUSH PRIVILEGES;
标签:编辑 root密码 flush 权限 bsp 密码 mysq upd where
原文地址:http://www.cnblogs.com/neverleave/p/6136840.html