i can confirm that the mysqldb that comes with the CentOS 5 install
does not work with django subversion releases.  it is quite easy,
however, to compile it from source.

On Nov 14, 1:49 am, Josh <[EMAIL PROTECTED]> wrote:
> Thanks Karen.  I was a little wary about compiling my own copy of
> mysqldb, but it appears as though that's my only option in this
> circumstance.  It's amazing how many little things I'm used to Linuxld
> doing for me... doing all that by hand on CentOS wasn't nearly as fun
> as I remember it being :)
>
> Thanks again!
> Josh
>
> On Nov 13, 5:29 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
>
> > That ticket you found suggests the real problem is not a missing mysqldb,
> > but a too-old version.  I know nothing of CentOS or yum -- is it possible
> > there is a more uplevel package available for you to install?  That would be
> > the easiest solution.  If not, you could download/build/install mysqldb
> > yourself, as suggested in this thread:
>
> >http://groups.google.com/group/django-users/browse_thread/thread/788d...
>
> > One other option might be to use Django's mysql_old backend:
>
> >http://groups.google.com/group/django-users/browse_thread/thread/98e6...
>
> > Karen
>
> > On 11/12/07, Josh <[EMAIL PROTECTED]> wrote:
>
> > > 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/5531butI'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 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