title: Insert a BLOB value into MySQL database
body: <p>I have a MYSQL database with a column named img of BLOB type. </p>
  
  <p>When I insert a value into that column like this :</p>
  
  <pre><code>LOAD_FILE('C:/Documents and Settings/All Users/Documents/My Pictures/Sample Pictures/Sunset.jpg') 
  </code></pre>
  
  <p>it works !</p>
  
  <p>But like this :</p>
  
  <pre><code>LOAD_FILE('C:/Documents and Settings/Administrator/My Documents/My Pictures/picture.jpg')
  </code></pre>
  
  <p>it doesn't work and it tells me that the column img cannot be null !</p>
  
  <p>And in both cases the file exists, and I'm connecting to the database as the root user (all privileges), so I don't understand why I'm getting this error.</p>
  
  <p>Thanks in advance</p>