标签:
The create user command:
yy表示你要建立的用户名,后面的123表示密码
上面建立的用户可以在任何地方登陆。
如果要限制在固定地址登陆,比如localhost 登陆:
grant:
grant select,insert,update,delete on *.* to test1@"%" Identified by "abc";
格式:grant select on 数据库.* to 用户名@登录主机 identified by "密码"
修改密码:
flush:
查看用户信息:
标签:
原文地址:http://www.cnblogs.com/mkfywj/p/4346124.html