title: Connect to AWS RDS MySql database with Python
body: <p>I am currently trying to connect to my MySql database created on AWS with a python program using the library PyMySQL.</p>
  
  <pre><code>import pymysql.cursors
  
  connection = pymysql.connect(host='.blablablablabla.us-east.rds.amazonaws.com',
                               user='Username',
                               password='Password',
                               db='nameofmydb',
                               )
  </code></pre>
  
  <p>When I run the above code I get the following error:</p>
  
  <pre><code>pymysql.err.InternalError: (1049, "Unknown database 'nameofmydb'")
  </code></pre>
  
  <p>What am I doing wrong? The arguments I gave to the function are correct. Could it be a problem with the MySql driver?</p>
  
  <p>Thank you in advance</p>