title: How can I store text file in MYSQL database using QT?
body: <p>I have a table which has two columns: ID, FILE;
  The FILE column has BLOB type;
  I want to store the full file in the database not the content of the file.
  I would like to download the file later as file_name.txt</p>
  
  <p>This is how I tried but after insert the FILE is NULL;</p>
  
  <pre><code> query.exec("INSERT INTO test(ID, FILE) VALUES(1, LOAD_FILE('/home/nemeth/Documents/list.txt'));
  </code></pre>