title: Amazon RDS: OperationalError: (2003, "Can't connect to MySQL server on 'verus-db.ck3ge4zvxdmt.us-east-1.rds.amazonaws.com' (timed out)")
body: <p>I keep getting the following error message</p>
  <pre><code>OperationalError: (2003, &quot;Can't connect to MySQL server on 'verus-db.ck3ge4zvxdmt.us-east-1.rds.amazonaws.com ' (timed out)&quot;)
  </code></pre>
  <p>I used the following code</p>
  <pre><code>import pymysql
  
  # Connect to the database
  connection = pymysql.connect(host='verus-db.ck3ge4zvxdmt.us-east-1.rds.amazonaws.com',
                           user='admin',
                           password='my-password-is-not-here',
                           db='verus_ai_db')
  
  # create cursor
  cursor=connection.cursor()
  </code></pre>
  <p>Do not worry that is not my real password :)</p>
  <p>Here is a picture of my security</p>
  <p><a href="https://i.stack.imgur.com/gbNkI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gbNkI.png" alt="enter image description here" /></a></p>