title: mysql import sql via cli from remote server
body: <p>i know how to import an sql file via the cli:</p>
  
  <pre><code>mysql -u USER -p DBNAME &lt; dump.sql
  </code></pre>
  
  <p>but that's if the dump.sql file is local. how could i use a file on a remote server?</p>