MySQL Data Loading

From PeformIQ Upgrade
Revision as of 00:04, 2 October 2011 by PeterHarding (talk | contribs) (Created page with '=Inserting large amounts of data into MySQL with LOAD DATA INFILE= Use this on the command line withing the MySQL client to build load data: load data infile 'customers.csv' i...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Inserting large amounts of data into MySQL with LOAD DATA INFILE

Use this on the command line withing the MySQL client to build load data:

load data infile 'customers.csv' into table site.customer
fields terminated by ',' enclosed by '"' lines terminated by '\n'
(email,password,title,first_name,last_name);

The field separator is specified as the default separator is a tab.

For more info on the command see: