So I have a built a table and now need to upload a CSV. But I am getting a syntax error. I am new to a MariaDB server and HeidiSQL. Any help greatly appreciated. As I understand it HeidiSQL is basiclly the same as MySQL.
" You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LOAD DATA [LOCAL] INFILE 'C:/Users/aline.kasliner/Desktop/MyStuff/Mullenserverw' at line 4 / / Affected rows: 0 Found rows: 0 Warnings: 0 Duration for 0 of 1 query: 0.000 sec. */ "
LOAD DATA [LOCAL] INFILE 'C:/Users/aline.kasliner/Desktop/MyStuff/Mullenserverwork/DisplayMediaData.csv'
INTO TABLE Duke_Display_Media_Data
OPTIONALLY FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
ignore 1 rows
(date_
,campaign
,site );