Created
October 15, 2014 02:52
-
-
Save onlyangel/a6cb8a32d8b7b3c25768 to your computer and use it in GitHub Desktop.
Import a csv 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 'uniq.csv' into table tblUniq fields terminated by ',' | |
enclosed by '"' | |
lines terminated by '\n' | |
(uniqName, uniqCity, uniqComments) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment