title: Importing CSV to MySQL with Load Data Infile
body: <p>I'm trying to load a CSV file into MySQL, and I keep getting syntax errors:</p>
  
  <pre><code>load data infile 'c:/worldminwage.csv' fields terminated by ',' enclosed
  by '"' lines terminated by '\n' (YearlyWage, PercentGDP, Date
  effective);
  </code></pre>
  
  <p>Can anyone help me get this working? Thanks.</p>