Hi, I'm following the django tutorial here https://docs.djangoproject.com/en/1.10/intro/tutorial02/, and am trying to follow the step 'python manage.py migrate'. However, I get this error:
django.db.utils.OperationalError: (1044, "Access denied for user 'cs411spring2017'@'%' to database 'cs411spring2017$cs411'")
My settings are:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '<username>$<database-name>',
'USER': '<username>',
'PASSWORD': '<password>',
'HOST': '<username>.mysql.pythonanywhere-services.com',
}
}
I have managed to log in through the bash console using mysql -u <username> -p <password> commands. I've also googled and searched through the previous posts with similar issues, but none of the solutions have worked.