title: Amazon RDS : How to import database to amazon RDS instance?
body: <p>I am using Amazon EC2 with Amazon RDS.</p>
  
  <p>I have successfully created database and uploaded code to amazon using Elastic Beanstalk.
  Now I want to import my local databse data to RDS databse. I surf and found that by <code>mysql command</code> we can do that so I do this</p>
  
  <pre><code>D:\wamp\bin\mysql\mysql5.5.8\bin&gt;mysql --host=myinstances.aa23swersdf.us-east-1.rds.amazonaws.com --user=username --pass=password --port=3306 dbname &lt; locahost.sql
  </code></pre>
  
  <p>But it throws this error :</p>
  
  <pre><code>ERROR 2003 (HY000): Can't connect to MySQL server on 'myinstances.aa23swersdf.us-east-1.rds.amazonaws.com' (10060)
  </code></pre>
  
  <p>How can I solve it?</p>
  
  <p>I have do this by cmd on windows.</p>