title: bash script command to inject a schema.sql into mysql db
body: <p>i found this code but do not quite understand what the command is doing.</p>
  
  <pre><code>sudo -u test-user mysql -U test_traffic traffic &lt; ./phoenix/data/sql/lib.model.schema.sql
  </code></pre>
  
  <p>i know the last part is using lib.model.schema.sql to create the tables and fields
  the first part i dont quite understand: <code>sudo -u test-user mysql -U test_traffic traffic</code></p>
  
  <p>i know the command <code>sudo</code> and <code>mysql</code></p>
  
  <p>please explain?
  thanks</p>