标签:
mysql>GRANT SELECT,INSERT,UPDATE,DELETE ON [db_name].* TO [username]@[ipadd] identified by ‘[password]‘;
[username]:远程登入的使用者代码
[db_name]:表示欲开放给使用者的数据库称
[password]:远程登入的使用者密码
ep:
mysql> GRANT SELECT,INSERT,UPDATE,DELETE ON xxx.* TO " identified by ‘xxxxxx‘;
mysql> flush privileges;
标签:
原文地址:http://my.oschina.net/u/582776/blog/396793