增加新用户
格式:grant select on 数据库.* to 用户名@登录主机 identified by “密码”
grant select,insert,update,delete on . to [email=test1@”%]test1@”%[/email]”
Identified by “abc”;
grant select,insert,update,delete on mydb.* to
[email=test2@localhost]test2@localhost[/email] identified by “abc”;
grant select,insert,update,delete on mydb.* to
[email=test2@localhost]test2@localhost[/email] identified by “”;
评论