DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'myschema',
'USER': 'admin',
'PASSWORD': 'aadmin',
'HOST': 'psdbuat.chmnxeoa2hhd.ap-southeast-1.rds.amazonaws.com',
'PORT': '3306',
}
}
I googled and found it is issue with AWS but did not find any solution.
Can anyone please share teh solution for it?
have you checked your security settings in the aws console to make sure the port is open?also have you seen https://stackoverflow.com/a/45792248/214892
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ff00ed62-d489-42b7-90de-a835e4f57da2%40googlegroups.com.
As Jason stated you probably have an issue with security groups. Make sure that your EC2 instance is in a security group that can access the mysql server. Otherwise you won't be able to connect. And the error you have is what you get when the security groups aren't correct.See here:
Regards,Andréas
2018-06-15 15:11 GMT+02:00 Jason <jjohn...@gmail.com>:
have you checked your security settings in the aws console to make sure the port is open?also have you seen https://stackoverflow.com/a/45792248/214892
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.