Hello everyone ,
I can't get past django.db.utils.OperationalError: (1045, "Access denied for user 'web_developer'@'localhost' (using password: YES)") .
I tried everything ,this is my django settings in settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'project_db',
'USER':'web_developer'
'PASSWORD':'web_password',
'HOST':'localhost',
'PORT':'3306',
}
}
I can connect from python REPL ,using the same credentials . I got the project from git , and don't know if I need to do something else .
I tried with mysql.connector module , does django use something else for mysql .Any help would be appreciated ,I tried all the answers I could find ,reinstalled both the project and mysql , same error. Please help !
Did you check the permissions on the database and the tables? If not youll need to grant permissions to your user
Alex
professor
Ismael
Anonymous
Shihasz
drunktimelord
Jimmies San
Ghorz
Master
Doragonsureiyā
DORIAN GRAY
Денис
Orack
Prateek
Rohan