Created
May 26, 2014 11:40
-
-
Save ken-muturi/f0ac7029d2943fc07b02 to your computer and use it in GitHub Desktop.
import CSv file to Mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOAD DATA LOCAL INFILE 'G:/Floyd/small/small.csv' INTO TABLE `csv_data` | |
FIELDS TERMINATED BY ',' | |
OPTIONALLY ENCLOSED BY '"' | |
LINES TERMINATED BY '\r' | |
IGNORE 1 LINES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment