可以,用GRANT
例如:
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
ON bankaccount.*
TO custom@localhost
IDENTIFIED BY 'stupid';
例如:
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
ON bankaccount.*
TO custom@localhost
IDENTIFIED BY 'stupid';
ON bankaccount.*
TO custom@localhost
IDENTIFIED BY 'stupid';stupid是密码grant select,insert,update,delete,create,drop,alter on 数据库名.* to 用户名@localhost identified by "密码"
真不明白为什么还要记这些又长又容易错的命令.....无奈ing