title: How can I use an environment variable in the MySQL console
body: <p>I can connect to the console as root using an environment variable: </p>
  
  <pre><code>mysql -u root -p${MYSQL_ROOT_PASSWORD}
  </code></pre>
  
  <p>I’d like to be able to use a different environment variable in a statement</p>
  
  <pre><code>CREATE USER ${MYSQL_USER} IDENTIFIED BY ${MYSQL_USER_PASSWORD};
  </code></pre>
  
  <p>Which obviously doesn’t work (or why would I be asking).  Is there any way I can use an environment variable in the console?</p>