Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arekgotfryd/5fdb7afbec176a3ab768a9a8d0d57715 to your computer and use it in GitHub Desktop.
Save arekgotfryd/5fdb7afbec176a3ab768a9a8d0d57715 to your computer and use it in GitHub Desktop.
LOAD DATA INFILE 'C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/products.csv'
INTO TABLE inzynierka.product
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