Changes between Version 5 and Version 7 of Ticket #31491


Ignore:
Timestamp:
Apr 21, 2020, 3:42:53 AM (4 years ago)
Author:
Maruti N Sharma
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31491 – Description

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