开发者

How do I add the permission "LOAD FROM INFILE" to my database?

Suppose I did this:

CREATE DATABASE TEST; GRANT ALL ON TEST.* TO "user"@"%" IDENTIFIED开发者_如何学运维 BY "mypass";

How do I grant load from infile to "user"?


Try:

grant file on *.* to "user"@"%" identified by 'xxxx';

See http://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html#priv_file

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜