title: SQLALchemy - cannot reflect a SQL Server DB running on Amazon RDS
body: <p>My code is simple:</p>
  
  <pre><code>app = Flask(__name__)
  app.config.from_object('config')
  
  db = SQLAlchemy(app)
  db.metadata.reflect()
  </code></pre>
  
  <p>And it throws no errors. However, when I inspect the metadata after this reflection, it returns an empty immutabledict object.</p>
  
  <p>The parameters in my connection string is 100% correct and the code works with non-RDS databases.</p>
  
  <p>It <a href="https://www.reddit.com/r/Python/comments/3ptieu/anyone_ever_connect_to_aws_rds_with_sqlalchemy/" rel="nofollow noreferrer">seems to happen to others as well</a> but I can't find a solution.</p>
  
  <p>Also, I have tried to limit the reflection to specific tables using the "only" parameter in the metadata.reflect function, and this is the error I get:</p>
  
  <pre><code>sqlalchemy.exc.InvalidRequestError: Could not reflect: requested table(s) not available in mssql+pyodbc://{connection_string}: (users)
  </code></pre>