Windows 2007 MySQL 5.7
Receiving error :
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
So I assumed that it was simply a privilege error for the directory that I had stored my DB.
So I ran:
SHOW VARIABLES LIKE "secure-file-priv";
and returned:
Empty set (0.00 sec)
so I searched for "my.ini" my.ini is located in C:\ProgramData\MySQL\MySQL Server 5.7
MySQL is installed in C:\Program Files (x86)
I made a copy of my Links.csv into the folder location of my.ini and the error still returned.
Script:
mysql> LOAD DATA INFILE 'Links.csv' INTO TABLE Links;