Its very strange if you had svn trunk version. Line that imports
backend must be
http://code.djangoproject.com/browser/django/trunk/django/db/__init__.py#L17
but you have
backend = __import__('%s.base' % settings.DATABASE_ENGINE, {}, {},

On 8 янв, 01:29, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I did a recent svn checkout. Perhaps I should uninstall and try a
> stable release
>
> On Jan 7, 2:18 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
>
> > mysql.base is internal django module that wraps work with MySQL
> > backend. So you have to check your django installation I think.
> > And that version of django do you use?
>
> > On 7 янв, 23:13, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > I think I have MySQL and MySQLdb installed properly. Both of these
> > > imports work
>
> > > >>> import _mysql
> > > >>> import MySQLdb
>
> > > I am running on a Ubuntu 6.06 system with a svn checkout of Django
> > > from yesterday.
>
> > > There is a problem I don't recognize when I try to run syncdb.
> > > What is mysql.base?
>
> > > # python 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 272, in execute_manager
> > >     utility.execute()
> > >   File "/usr/lib/python2.4/site-packages/django/core/management/
> > > __init__.py", line 219, in execute
> > >     self.fetch_command(subcommand).run_from_argv(self.argv)
> > >   File "/usr/lib/python2.4/site-packages/django/core/management/
> > > base.py", line 72, in run_from_argv
> > >     self.execute(*args, **options.__dict__)
> > >   File "/usr/lib/python2.4/site-packages/django/core/management/
> > > base.py", line 85, in execute
> > >     self.validate()
> > >   File "/usr/lib/python2.4/site-packages/django/core/management/
> > > base.py", line 112, 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to