MySQL LOAD_FILE returns NULL

后端 未结 5 1176
清歌不尽
清歌不尽 2021-01-05 05:05

I want to get SQL LOAD_FILE function to work and have read every single question/answer + documentation about this, but here is what\'s been happening.

When

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-05 05:21

    I found out that it has to do with AppArmor. I disabled AppArmor for MySQL and it worked. For people having the same problem, please read here: http://www.cyberciti.biz/faq/ubuntu-linux-howto-disable-apparmor-commands/

提交回复
热议问题