'sqlalchemy Operational Error : Can't connect to MySQL server on aws rds
My database in hosted on AWS RDS. I am having connectivity issue and getting this error:
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'xxxx.rds.amazonaws.com' (timed out)")
I am running an App on localhost which tries to connect to the MySQL database. I have checked the configuration and inbound rules of the EC2 instance, the database is accessible by localhost and publicly accessible.
What else I can try to troubleshoot and debug the issue? The DB instance is running and in active state.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
