MySQL LOAD_FILE returns NULL

后端 未结 5 1187
清歌不尽
清歌不尽 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条回答
  •  庸人自扰
    2021-01-05 05:37

    I'd the same problem with Fedora Linux while trying add images to a blob field.

    I solved coping the files to the directory /var/lib/mysql/images and giving the command:

    chown -R mysql:mysql /var/lib/mysql/images

提交回复
热议问题