Forums

django and mysql connection

Hello,

I try to connect to my mysql DB using this django setting:

'ENGINE': 'django.db.backends.mysql', 'NAME': 'leojet$test3', 'USER': 'leojet', 'PASSWORD': '*****', 'HOST': 'leojet.mysql.pythonanywhere-services.com',

I get this error

django.db.utils.OperationalError: (1045, "Access denied for user 'leojet'@'10.0.0.216' (using password: YES)")

Thanks for help.

Hi there, I know this is a silly thing to ask, but just double-check the password? You can check the one you currently have set by going to the file ".my.cnf" in your home folder on the Files tab...