Assistance Needed: MySQL Access Denied and User Privileges Error

Despite following the standard setup instructions, I am encountering an "Access denied for user" error when trying to perform database migrations.the error encountered is

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

my database configuration in setting.py file is :

DATABASES = {
'default': {
    'ENGINE': 'django.db.backends.mysql',
    'NAME': 'Nooshin$ads',
    'USER': 'Nooshin',
    'PASSWORD': 'ads123',
    'PORT': '3306',
    'HOST': 'Nooshin.mysql.pythonanywhere-services.com',
     'OPTIONS': {
        'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
    },
}

}

and here is my database interface in pythonanywhere

please help me solve the issue I am facing.

Вернуться на верх