Error code 1290 and inability to import data on table
As per MySQL documentation 

This variable is used to limit the effect of data import and export operations, such as those performed by the LOAD DATA and SELECT ... INTO OUTFILE statements and the LOAD_FILE() function. These operations are permitted only to users who have the FILE privilege.

So one solution is to place your files under the value displayed under this variable

if the directory doesn't exist create it as being displayed and make sure mysql user have access on it.

 show variables like '%secure_file_priv%';


or change the value in my.ini/cnf file as this variable is read-only and would require a restart

if you want to disable this restriction and can use any directory set it to empty value or change it according to your need

[mysqld]
secure_file_priv=new_path


if you want to disable the feature of loading-unloading set it's values to NULL

Hope it helps