Created
January 18, 2012 12:32
-
-
Save tristanoneil/1632794 to your computer and use it in GitHub Desktop.
Importing unique data from a CSV into 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 INFILE '/path/to/file' IGNORE INTO TABLE data.timeseries FIELDS TERMINATED BY ',' ENCLOSED BY '"' IGNORE 1 LINES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment