title: Connection from sails in ec2 to MySQL in rds giving handshake inactivity timeout error
body: <p>I deployed my sails app in ec2 and I have mysql database in rds.</p>
  
  <p>when I use mysql in rds from my local, it worked absolutely fine. But when I connect myswl in rds from the ec2 it is giving me this error:</p>
  
  <pre><code>error: A hook (`orm`) failed to load!
  error: Error (E_UNKNOWN) :: Encountered an unexpected error
  : Could not connect to MySQL:
  Error: Handshake inactivity timeout
  </code></pre>
  
  <p>Please help me solve this issue. Should I configure my ec2 instance to connect to rds?</p>