Hi experts, I am tryin' to connect to MySQL database and the following
error flashed!

    return Database.connect(**conn_params)
  File
"C:\Users\ansh\AppData\Local\Programs\Python\Python36\lib\site-packages\M
ySQLdb\__init__.py", line 86, in Connect
    return Connection(*args, **kwargs)
  File
"C:\Users\ansh\AppData\Local\Programs\Python\Python36\lib\site-packages\M
ySQLdb\connections.py", line 204, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (2059, "Authentication plugin
'caching_sha2_pa
ssword' cannot be loaded: The specified module could not be found.\r\n")

In the settings.py, I got following:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'marvellous' ,
        'USER': 'root@localhost',
        'PASSWORD': 'prodot123',
        'HOST':'127.0.0.1',
        'PORT':'3306'
    }
}

Any help would be appreciated!

[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
11/15/18,
11:47:53 PM

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHMQ531U6DEiDpri8dqdR7N1SJmXAvpZ%3DMrNyXQ1OFcCB7FC3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to