Last active
March 30, 2022 10:59
Revisions
-
shalaby revised this gist
May 19, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ mysql -uroot -p --local-infile LOAD DATA LOCAL INFILE "file.csv" INTO TABLE db.table FIELDS TERMINATED BY ',' -
shalaby revised this gist
Mar 15, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ LOAD DATA LOCAL INFILE "file.csv" INTO TABLE db.table FIELDS TERMINATED BY ',' ENCLOSED BY '\"' -
shalaby revised this gist
May 7, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ LOAD DATA LOCAL INFILE "file.cvs" INTO TABLE db.table FIELDS TERMINATED BY ',' ENCLOSED BY '\"' LINES TERMINATED BY '\n' -
shalaby created this gist
May 7, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ LOAD DATA LOCAL INFILE "xxx.cvs" INTO TABLE xxx FIELDS TERMINATED BY ',' ENCLOSED BY '\"' LINES TERMINATED BY '\n'