LOAD_FILE returns NULL

前端 未结 4 742
忘了有多久
忘了有多久 2020-12-19 14:41

I am trying to insert an image into my MySQL server. I have done some research and it looks like the best way to do that is through LOAD_FILE(). However,

4条回答
  •  借酒劲吻你
    2020-12-19 15:10

    "FILE" is an administrative privilege. When you say that ALL privileges have been granted, does that include global administrative privileges too?

    Here's the syntax http://dev.mysql.com/doc/refman/5.1/en/grant.html#grant-global-privileges, but I found "MySQL Workbench" GUI more helpful.

    Check out OS file permissions, too.

提交回复
热议问题