In April I had set up my webapp and I could have sworn it was working fine but today I tried and get this error:
OperationalError at (2005, "Unknown MySQL server host 'mysql.server' (0)")
I am not sure if I have configured it right but here are my settings :
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': '<USERNAME>$<DATABASE>', 'USER':'*', 'PASSWORD':'*', 'HOST':'mysql.server', 'PORT':'3306', } }
When I checked the error.log I found this
OperationalError: (2005, "Unknown MySQL server host 'mysql.server' (0)") 2016-05-24 07:29:13,564 :Internal Server Error: /api/events/