load data local infile mysql csv code example
Example 1: mysql load data infile csv
LOAD DATA LOCAL INFILE 'abc.csv' INTO TABLE abc
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
IGNORE 1 LINES
(col1, col2, col3, col4, col5...);
Example 2: mysql load data infile default file location
C:\Program Files\MariaDB 5.5\data\yourDB