Created
July 20, 2015 06:28
-
-
Save DeanThompson/bb0355a7a1a63b2e756f to your computer and use it in GitHub Desktop.
Load data from outfile in mysql server.
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.txt' REPLACE INTO TABLE tablename CHARACTER SET UTF8 FIELDS TERMINATED BY '|' IGNORE 1 LINES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment