title: Pass parameters to MySQL script
body: <p>I have a MySQL script file named <code>query1.sql</code> which contains:</p>
  
  <pre><code>select * FROM $(tblName) LIMIT 10;
  </code></pre>
  
  <p>I am in MySQL console, how do I pass the parameter to the script?  This does not forward the variable:</p>
  
  <pre><code>mysql&gt; \. query1.sql -v tblName=Users
  </code></pre>