title: Can't connect to RDS in Asp.net core application
body: <p>I've created a MySQL RDS on AWS console. Then I successfully connected to that RDS in MySQL Workbench using following steps:</p>
  
  <ol>
  <li>Connection Method: Standard (TCP/IP)</li>
  <li>Hostname: zargham.ccir1327bjhl.us-east-2.rds.amazonaws.com</li>
  <li>Port: 3306</li>
  <li>Username: [given at the time of RDS creation]</li>
  <li>Password: [given at the time of RDS creation]</li>
  </ol>
  
  <p>Then I try to connect it in my Asp.net core application, and it is giving me error on openConnection(). Following connection string is used:</p>
  
  <p><strong>"Server=zargham.ccir1327bjhl.us-east-2.rds.amazonaws.com; Port=3306; Database=aws; Uid=[same as above]; Pwd=[correct Password];"</strong></p>
  
  <p>Although OpenConnection() successful when I connect to localhost on same port. </p>
  
  <p><img src="https://i.stack.imgur.com/XVZl5.png" alt="Exception Image">  <img src="https://i.stack.imgur.com/cYfdw.png" alt="In-bound access AWS Image">  <img src="https://i.stack.imgur.com/qKPnf.png" alt="Out-bound access AWS Image"></p>