I am trying to load csv file into my table. I've run the following code which throws error
LOAD DATA LOCAL INFILE 'info.csv' INTO TABLE tbl_countryip (ipstart, ipend, countrycode) FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\r\n' ;
The error is
bash: syntax error near unexpected token `('
I even tried after removing the space between tablename and column names but still the same error Thanks in advance
(ipstart, ipend, countrycode)