Opened 17 years ago
Closed 17 years ago
#4692 closed (fixed)
Document required database user permissions
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | sql sprintsept14 | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
On the db setup page http://www.djangoproject.com/documentation/databases/
There should be some specs on what rights django needs.
easies way to define it is with the command:
grant all on djangosite.* to djangouser identified by 'abc' with grant option;
For the various dbs.
Only A) someone should figure out what rights are really needed,
and B) maybe come up with 2 users, one for creating tables with manage.py syncdb.
I can see the attitude of "if you are going to run a server you should know" but this doesn't do much good for people who just want to try it out, and i like the DBA attitude of 'you prove to me why you need it and I'll give it to you."
Attachments (1)
Change History (6)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Summary: | sql rights → Document required database user permissions |
comment:2 by , 17 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 17 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Attached a patch to install.txt explaining minimum necessary privileges for setting up a database for Django's use, and to testing.txt reminding users that creating a test database requires CREATE DATABASE.
comment:4 by , 17 years ago
Has patch: | set |
---|---|
Keywords: | sprintsept14 added |
comment:5 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
#4757 was marked as a dupe.