Ticket #31491: ticket_31491.diff

File ticket_31491.diff, 863 bytes (added by Maruti N Sharma, 5 years ago)

patch file

  • django/db/backends/mysql/client.py

    diff --git a/django/db/backends/mysql/client.py b/django/db/backends/mysql/client.py
    index e5b6a59fb2e8..885842417374 100644
    a b def settings_to_cmd_args(cls, settings_dict, parameters):  
    1111        args = [cls.executable_name]
    1212        db = settings_dict['OPTIONS'].get('db', settings_dict['NAME'])
    1313        user = settings_dict['OPTIONS'].get('user', settings_dict['USER'])
    14         passwd = settings_dict['OPTIONS'].get('passwd', settings_dict['PASSWORD'])
     14        passwd = settings_dict['OPTIONS'].get('password', settings_dict['PASSWORD'])
    1515        host = settings_dict['OPTIONS'].get('host', settings_dict['HOST'])
    1616        port = settings_dict['OPTIONS'].get('port', settings_dict['PORT'])
    1717        server_ca = settings_dict['OPTIONS'].get('ssl', {}).get('ca')
Back to Top