title: How to access mysql database using shell script?
body: <p>Is there a way I can access MySQL database using shell script?
  want to do some selects and some inserts on multiple tables?</p>
  
  <p>It will be great if you can give some sample code as I am new to scripting.</p>