title: Move file to another directory using sql query
body: <p>I have a file uploaded in:</p>
  
  <p><code>/var/lib/mysql-files/</code></p>
  
  <p>I want to move this file to: </p>
  
  <p><code>/home/user/public_html</code> </p>
  
  <p>using sql query command only</p>
  
  <p>I know it is possible with linux commands cd, mv
  But in my case, I can do it only using sql commands.</p>
  
  <p>Or, is there a way to change the <code>SELECT @@global.secure_file_priv;
  Value /var/lib/mysql-files/</code> to <code>NULL</code> using sql commands ?</p>