I am trying to import data from csv to mysql table using load data infile. Have moved the csv file to the directory (C:\ProgramData\MySQL\MySQL Server 8.0\Uploads\1JulySales.csv).
And have executed the command LOAD DATA INFILE 'C:\ProgramData\MySQL\MySQL Server 8.0\Uploads\1Julysales.csv' into table Sales;
and error shows up. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
Also referred to this problem on this thread. How should I tackle --secure-file-priv in MySQL?
Please help. Thanks. Santosh.