title: mysql in bash with variable
body: <p>How can i parse a variable in a mysql update statement in a bash script?</p>
  
  <p>i have this but its not going to work</p>
  
  <pre><code>mysql -h HOST -u USERNAME -pUGUESIT -D DATABASE -bse "DELETE FROM table WHERE Position='" . $4 ."'; DELETE FROM table WHERE Instance='" . $4 . "';" 
  </code></pre>
  
  <p>ofcourse username and pass etc are correct but not for public. The question is how I can use the $4 in the statement...</p>
  
  <p>Thanks in advance!</p>