I have a MySQL RDS instance with Amazon’s AWS as the database for my Django app. When I do run the command
python manage.py runserver 184.108.40.206:8000, I get this error:
(2005, "Unknown MySQL server host 'myapp.us-east-1.rds.amazonaws.com' (2)")
I can connect to the database using MySQL Workbench though. When I run the app through Apache, there are no problems either. I tried restarting the RDS instance but that didn’t resolve the issue.
What is going on here and how do I fix it?