Quantcast
Viewing latest article 4
Browse Latest Browse All 4

Import CSV data into to MySQL database

Import CSV to MySQL A simple in-built command to import whole CVS data to mysql database 1 LOAD DATA LOCAL INFILE 'd:\\\my_file.csv' 2 into TABLE table_name 3 FIELDS TERMINATED BY ',' 4 LINES TERMINATED BY '\n' 5 (field1,field2,field3) Note: table column should be as tat of cvs file “\\\” is important, keep it as it is [...]Image may be NSFW.
Clik here to view.

Viewing latest article 4
Browse Latest Browse All 4

Trending Articles