Changes between Version 8 and Version 9 of Ticket #31491


Ignore:
Timestamp:
Apr 21, 2020, 3:50:24 AM (5 years ago)
Author:
Maruti N Sharma
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31491 – Description

    v8 v9  
    33This behaviour is also slightly different than other back-ends.
    44
    5 Pull request submitted: [https://github.com/django/django/pull/12763]\\
    6 \\
    7 \\
     5Pull request submitted: [https://github.com/django/django/pull/12763]
    86
    9 
    10 **Steps to reproduce:**
    11 
    12 - create a new django project, set env
    13 - choose mysql as db back-end
    14 - specify db setting as following (ref: [https://docs.djangoproject.com/en/3.0/ref/settings/#std:setting-DATABASES])
    15 
    16 {{{
    17 # use actual db username, password etc
    18 DATABASES = {
    19     'default': {
    20         'ENGINE': 'django.db.backends.mysql',
    21         'NAME': 'mydatabase',
    22         'USER': 'mydatabaseuser',
    23         'PASSWORD': 'mypassword',
    24         'HOST': '127.0.0.1',
    25         'PORT': '5432',
    26     }
    27 }
    28 }}}
    29 
    30 - Open a terminal and activate respective environment
    31 - run:  ''python manage.py dbshell''
    32 - You should get following error: **Access denied for user 'mydatabaseuser'@'localhost' (using password: NO)**
    337
    348(My apologies for any mistake, I am new to bug-tracking system)
Back to Top