This question is similar to: How should I resolve --secure-file-priv in MySQL?. Particularly the second answer about
local data infile local
. If you believe it’s different, please [edit] the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem.