On Friday, April 15, 2011 2:59:32 PM UTC+5:30, paganplan paganplan wrote:
>
> Solved!
> in settings.py file, option 'ENGINE' must be like this: 
> django.db.backends.mysql
>
> 2011/4/14, pagan <[email protected] <javascript:>>:
> > same problem. apache2, mod_wsgi, python-mysqldb installed. When i add
> > databases engine, name, user, password in settings.py, i got a
> > message:
> >
> > ImportError at /wsgi 
>
> No module named mysql.baseRequest Method:        GET
> > Request URL:        http://xxxxx/wsgi
> > Django Version:        1.3
> > Exception Type:        ImportError
> > Exception Value:        No module named mysql.base
> > Exception Location:        /usr/lib/python2.5/site-packages/django/utils/
> > importlib.py in import_module, line 35
> > Python Executable:        /usr/bin/python
> > Python Version:        2.5.2
> > Python Path:        ['/usr/lib/python2.5',
> >  '/usr/lib/python2.5/plat-linux2',
> >  '/usr/lib/python2.5/lib-tk',
> >  '/usr/lib/python2.5/lib-dynload',
> >  '/usr/local/lib/python2.5/site-packages',
> >  '/usr/lib/python2.5/site-packages',
> >  '/var/lib/python-support/python2.5',
> >  '/home/django-projects/xxxx/apps']
> >
> > Anyone knows whats that?
> >
> > On 13 апр, 02:56, dsx <[email protected]> wrote:
> >> same here.
> >>
> >> On Apr 1, 12:48 am, nai <[email protected]> wrote:
> >>
> >>
> >>
> >> > I posted the same question on stackoverflow
> >> > here:
> http://stackoverflow.com/questions/5509755/problem-with-django-syncdb...
> >>
> >> > Reproduced
> >>
> >> > Hi all, I'm trying to deploy my project on my EC2 instance. When I run
> >> > python manage.py validate I get this error Error: No module named
> >> >mysql.base.
> >>
> >> > I have already installed MySQL-python using yum install MySQL-python.
> >> > I can import MySQLdb successfully from the Python interpreter.
> >>
> >> > I can't seem to figure out what's wrong?
> >>
> >> > I am using Django 1.3 and Python 2.6 and MySQLdb 1.2.3c1
> >
> > --
> > 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]<javascript:>
> .
> > To unsubscribe from this group, send email to
> > [email protected] <javascript:>.
> > For more options, visit this group at
> > http://groups.google.com/group/django-users?hl=en.
> >
> >
>




Hi,
 Your reply helped big time. thanks a lot  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a227662c-e530-4709-993f-bac7a2e3735f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to