title: How to execute mysql statement from command line
body: <p>I need to run the below command from the command line.  How do I do that on ubuntu?  It works in the shell but need to execute for a chef recepie.</p>
  
  <pre><code>grant all privileges on *.* to 'root'@'%' identified by 'password';
  </code></pre>