Discussion:
MySQL caching_sha2_password
Ansh Srivastava
6 years ago
Permalink
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': '***@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+***@googlegroups.com.
To post to this group, send email to django-***@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.
Jason
6 years ago
Permalink
did you try googling the error? a simple google query returned a number of
possible avenues of investigation
--
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+***@googlegroups.com.
To post to this group, send email to django-***@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/85aef7a0-7b9f-4262-838e-51392593eea9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ansh Srivastava
6 years ago
Permalink
Yes @Jason
I am swamped with all those googling but nothin' found there!

[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/16/18,
12:56:15 AM
...
--
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+***@googlegroups.com.
To post to this group, send email to django-***@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/CAHMQ530Dtkd-TU5qNDLtVQAN_sV6U5h-Rn%2BOCWNN%3DWNwb0C_%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Mamadou Harouna Diallo
6 years ago
Permalink
Are install pymysql ? If aren't you need install it
...
--
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+***@googlegroups.com.
To post to this group, send email to django-***@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/CAO73PDoDU7R2z7-xE0%2BQTZQmSQRrK%2BAqJSuDE_0_a61wPu7coQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...