Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rajitha-bandara/9bc99a0f67302111731272c20d45d745 to your computer and use it in GitHub Desktop.
Save rajitha-bandara/9bc99a0f67302111731272c20d45d745 to your computer and use it in GitHub Desktop.
MySQL Load CSV
LOAD DATA LOCAL INFILE "C:/Users/xxx/e7849261fe2785926565f6c9c4dea6e957c3c837.csv"
INTO TABLE contacts
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment