(secure-auth) very old mysql. old django, up-to-date workstation

29 views
Skip to first unread message

술욱

unread,
Nov 18, 2015, 10:34:34 AM11/18/15
to django...@googlegroups.com
Hello,

mysql server 3 
django 1.6.11
workstation: ubuntu wily (15.10) mysql client 5.6.27


I need to make Django recognize secure-auth=false or skip-secure-auth=true but so far I couldn't 


I tried in project/settings.py

        'OPTIONS': {
            'skip-secure-auth': 'true',
        },

        'OPTIONS': {
            'secure-auth': 'false',
        },

and combinations of '-' and '_', and False, FALSE, false (same for true).


Also tried:

        'OPTIONS': {
            'read_default_file': os.path.join(BASE_DIR, 'conf/my.cnf'),
        }

And in conf/my.cnf:

[client] (and mysql)

skip-secure-auth (and its variations)


None works.

Then I tried skip-secure-auth in /etc/mysql/my.cnf [mysql] and this works in the cli, but Django seems to ignore this file.


Does anybody have other ideas?

Thanks!
Norberto
Reply all
Reply to author
Forward
0 new messages