Created
December 9, 2013 09:59
-
-
Save gedankennebel/7869922 to your computer and use it in GitHub Desktop.
Load data from a CSV fiel to MySQL
This file contains 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 '/path/to/my/csv/file.csv' | |
INTO TABLE test.myTable | |
FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment