title: Running mysql -vvv from a script and I get no logging
body: <p>I am having a problem getting mysql -vvv to output to a log file from a script.  Redhat Linux, mysql 5</p>
  
  <p>I can run the following from the Linux command line and I get SQL command output to the screen just like I would expect.  Work fine and tells me what I want to know.</p>
  
  <blockquote>
    <p>mysql -vvv --user=username --pass=password &lt; /path/script.sql</p>
  </blockquote>
  
  <p>When I add the following to a Linux bash shell script, I do not get and output to the log file.  What do I not understand?</p>
  
  <blockquote>
    <p>mysql -vvv --user=username --pass=password &lt; /path/script.sql  >>  /tmp/file.log</p>
  </blockquote>
  
  <p>NOTE:  Database connect string is inside my script.sql</p>