About secure-auth

55 views
Skip to first unread message

aca...@adrianahoyos.com

unread,
Feb 19, 2017, 8:11:10 PM2/19/17
to Django developers (Contributions to Django itself)

How do I tell django to use --skip-secure-auth when connecting to mysql?

049, "Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)")

Michael Manfre

unread,
Feb 19, 2017, 10:50:53 PM2/19/17
to Django developers (Contributions to Django itself)
Hi,

This mailing list is for the discussion of developing Django itself. Questions related to using Django are meant for the django-users mailing list. 

I'm not familiar enough with the MySQLdb python package, but if it supports that as a connection option, you'd need to provide it under the DATABASES "OPTIONS" dict in your settings. If it doesn't accept a connection param that matches --skip-secure-auth, then you'll need to look in to something to proxy the connection or perhaps extending the mysql database backend. 

If you find yourself needing to work on a database backend, check out the Custom Database Backends talk given at DUTH last year.

Regards,
Michael Manfre

On Sun, Feb 19, 2017 at 8:11 PM <aca...@adrianahoyos.com> wrote:

How do I tell django to use --skip-secure-auth when connecting to mysql?

049, "Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)")

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/9ae435f7-d934-47fb-9522-452ae135207e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages