Hi everyone! I'm trying to get one of our servers set up with Django,
and everything seems to work fine up until I try to syncdb.
This is the output I get:
manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File "/usr/lib/python2.4/site-packages/django/core/management/
__init__.py", line 277, in execute_manager
utility.execute()
File "/usr/lib/python2.4/site-packages/django/core/management/
__init__.py", line 225, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.4/site-packages/django/core/management/
base.py", line 70, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.4/site-packages/django/core/management/
base.py", line 83, in execute
self.validate()
File "/usr/lib/python2.4/site-packages/django/core/management/
base.py", line 110, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.4/site-packages/django/core/management/
validation.py", line 22, in get_validation_errors
from django.db import models, connection
File "/usr/lib/python2.4/site-packages/django/db/__init__.py", line
23, in ?
backend = __import__('%s.base' % settings.DATABASE_ENGINE, {}, {},
[''])
ImportError: No module named mysql.base
I did a search for "No module named mysql.base" and found
http://code.djangoproject.com/ticket/5531 but I'm not sure what I'm
supposed to do with the information found on that page. The platform
is CentOS 5 (I believe), and I am using rev. 6669 of Django. I
installed MySQL-python with yum. When I run python and import django
or import MySQLdb, I get no errors. I can communicate just fine with
the mysql database from the interactive shell.
Ideas? Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---