title: Import SQL with SSH
body: <p>I wanted to import a dump sql file via ssh like:</p>
  
  <pre><code>mysql -hlocalhost -uUSER -pPASS DATABASE &lt; dump.sql
  </code></pre>
  
  <p>But it actually overwrites and removes the old database. The dump is tagged with "DROP TABLE IF EXISTS" but why does it remove the old entries? This dump was supposed to add NEW (unique) entries into the database but it removes old database entries.</p>
  
  <p>Is there a way to avoid this?</p>
  
  <p>Thanks.</p>