[转]MySQL更改用户密码
grant all privileges
on *.* to root@'localhost'
identified by 'root'
with grant option;
grant all privilegeson *.* to 用户名@'使用navicat的那台机子的IP地址'identified by '密码'with grant option;
grant all privileges
on *.* to root@'localhost'
identified by 'root'
with grant option;
grant all privilegeson *.* to 用户名@'使用navicat的那台机子的IP地址'identified by '密码'with grant option;