[转]MySQL更改用户密码

grant all privileges
on *.* to root@'localhost'
identified by 'root'
with grant option;

 

grant all privileges
on *.* to 用户名@'使用navicat的那台机子的IP地址'
identified by '密码'

with grant option;

posted @ 2015-08-24 23:17  yunlvrensheng  阅读(222)  评论(0)    收藏  举报