title: MySQL cannot find data file for a load operation
body: <p>I would like to load a data file into MySQL using the following command:</p>
  
  <pre><code>LOAD DATA LOCAL INFILE '/Users/David/Desktop/popularity20110511/test_data' INTO TABLE test_table
  </code></pre>
  
  <p>The above command gives me the following error:</p>
  
  <pre><code>#7890 - Can't find file '/Users/David/Desktop/popularity20110511/test_data'.
  </code></pre>
  
  <p>I've also tried: </p>
  
  <pre><code>LOAD DATA INFILE '/Users/David/Desktop/popularity20110511/test_data' INTO TABLE test_table
  </code></pre>
  
  <p>I also gives me an error:</p>
  
  <pre><code>#13 - Can't get stat of '/Users/David/Desktop/popularity20110511/test_data' (Errcode: 13)
  </code></pre>
  
  <p>I've repeatedly checked the file path and name and I've also made sure the file privilege is set to <code>Read &amp; Write</code> for everyone.</p>
  
  <p>I am using a Mac and phpMyAdmin.</p>
  
  <p>Any suggestions on what the problem may be?</p>