Django

Code

Ticket #4757 (closed: duplicate)

Opened 1 year ago

Last modified 1 year ago

what db rights?

Reported by: Carl Karsten <carl@personnelware.com> Assigned to: jacob
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

http://www.djangoproject.com/documentation/contributing/

Needs something in there about db rightes.

carl@dell29:~/django/django-src/tests$ ./runtests.py --settings settings

Got an error creating the test database: (1044, "Access denied for user 'djangouser'@'%' to database 'django_test_db'") It appears the test database, django_test_db, already exists. Type 'yes' to delete it, or 'no' to cancel: yes Got an error recreating the test database: (1044, "Access denied for user 'djangouser'@'%' to database 'django_test_db'") carl@dell29:~/django/django-src/tests$ mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 750 Server version: 5.0.38-Ubuntu_0ubuntu1-log Ubuntu 7.04 distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | RidgeMoorJonas? | | dj | | djangodb | | mysql | +--------------------+ 5 rows in set (0.00 sec)

mysql>

I am guessing the problem is: DATABASE_USER = 'djangouser' only has rites to DATABASE_NAME = 'djangodb'

But the error message doesn't make that clear, and the docs don't say what is needed.

Attachments

Change History

07/11/07 21:45:02 changed by Simon G. <dev@simon.net.nz>

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to duplicate.
  • needs_tests changed.
  • needs_docs changed.

Thanks for the report - I'm working on it. Duplicate of #4692.


Add/Change #4757 (what db rights?)




Change Properties
Action