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
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:
/var/lib/mysql/images
chown -R mysql:mysql /var/lib/mysql/images