Opened 6 years ago
Last modified 5 years ago
#31491 closed Cleanup/optimization
"dbshell" command for MySql back-end uses "passwd" instead of "password" — at Version 2
| Reported by: | Maruti N Sharma | Owned by: | Maruti N Sharma |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | dev |
| Severity: | Normal | Keywords: | dbshell, db, command-line |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
For MySql, "passwd" has been replaced with "password" long time ago, please check here https://code.djangoproject.com/ticket/5024
But dbshell command still looks for "passwd" key in the settings for db password, resulting in connection error.
This behaviour is also slightly different than other back-ends.
I shall create a pull request f the ticket is accepted.
(My apologies for any mistake, I am new to bug-tracking system)
Change History (3)
comment:1 by , 6 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 6 years ago
| Description: | modified (diff) |
|---|
by , 6 years ago
| Attachment: | ticket_31491.diff added |
|---|
Note:
See TracTickets
for help on using tickets.
patch file