Ciao, ho il seguente problema:
Sto facendo girare uno script per importare un file csv, utilizzando MySQL Server 8.0. Ottengo però il seguente errore:
Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
Ricerche fatte su stack overflow hanno suggerito di procedere come segue:
- aprire il file my.ini
- disabilitare la variabile secure_file_priv nella seguente maniera: secure_file_priv = " ".
Nonostante abbia seguito tale metodo, continuo ad avere lo stesso errore.
Il codice per il caricamento del file è il seguente:

codice:
LOAD DATA INFILE '\\report2.csv' INTO TABLE chiamate_report_new
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS
(uniqueId,direction,@startTime,answerTime,@endTime,callerId,gatewayId,gatewayName,calledNumber,status,waitingTime,conversationTime,operator,operatorExten,detailDestination,detailDestinationId,detailDestinationName,detailEnterTime,detailOpeningFlag,detailEnqueueTime,detailAnswerTime,detailOperator,detailOperatorExten,detailExitTime,detailExitCause,detailWaitingTime,detailWaitingTimeNoGreeting,detailNextHopType,detailNextHopId)
   SET startTime = str_to_date(@startTime, '%Y-%m-%d %H:%i:%s'),

	   endTime=str_to_date(@endTime, '%Y-%m-%d %H:%i:%s');

Premetto inoltre che il file csv in questione, ovvero "report2.csv" si trova nella cartella C:/ProgramData/MySQL/MySQL Server 8.0/Uploads, in C:\ e anche sul desktop.
Potete aiutarmi?
Grazie infinite