开发者

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

开发者 https://www.devze.com 2023-02-01 15:27 出处:网络
Suppose I did this: CREATE DATABASE TEST; GRANT ALL ON TEST.* TO \"user\"@\"%\" IDENTIFIED开发者_如何学运维 BY \"mypass\";

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

精彩评论

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