title: using mysqldump to import to RDS
body: <p>I am able to do a mysqldump locally that amounts to about 90kb using </p>
  
  <pre><code>/usr/local/mysql/bin/mysqldump -u root -p localDbName &gt; /Users/Shared/localDbName-9-6-12.sql
  </code></pre>
  
  <p>I am trying to populate a newly setup amazon rds db. When I enter</p>
  
  <pre><code>/usr/local/mysql/bin/mysqldump -u root -p localDbName | mysql --host=Endpoint --user=MasterUsername --password=amazondbpassword amazonDBName
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>-bash: mysql: command not found
  </code></pre>
  
  <p>then it prompts me for my own local password. After entering my password for the mysqldump i get</p>
  
  <pre><code>mysqldump: Got errno 32 on write
  </code></pre>
  
  <p>I would really appreciate some explanation/help for what I am doing wrong.</p>