title: mysql load data infile can't get stat of file Errcode: 2
body: <p>I have looked all over and found no solution, any help on this would be great.</p>
  
  <p>Query:</p>
  
  <pre><code>LOAD DATA INFILE '/Users/name/Desktop/loadIntoDb/loadIntoDB.csv' 
  INTO TABLE `tba`.`tbl_name` 
  FIELDS TERMINATED BY ','
  LINES TERMINATED BY '\r\n'
  IGNORE 1 LINES
  (
  field1, field2, field3
  )
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Can't get stat of '/Users/name/Desktop/loadIntoDb/loadIntoDB.csv' (Errcode:2)
  </code></pre>
  
  <p>NOTE:</p>
  
  <p>I'm running MySQL Query browser on OSX 10.6.4 connecting to MySQL 5.x</p>
  
  <p>Things I've tried:</p>
  
  <ul>
  <li>Drag-n-drop</li>
  <li>Chmod 777</li>
  <li>Put in a folder with 777 permissions
  as well as the file having 777
  permissions</li>
  </ul>