SHOW VARIABLES LIKE "secure_file_priv" code example
Example: Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
LOAD DATA LOCAL INFILE ...
LOAD DATA LOCAL INFILE ...