On May 5, 12:23 pm, Etienne Python <[email protected]> wrote:
>
> File "c:\python26\lib\site-packages\django\db\backends\mysql\base.py",
> line 13, in <module>
>    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
> module: No module named MySQLdb

As Georg says, you need to install MySQLdb. However I suspect that
that won't solve your problem: if all you've done is copied the Django
code from the server, there'll be a whole stack of things you don't
have, starting with the database itself. If you need the actual data
from the server, you'll need to install MySQL itself as well, then
back up the data from the server and restore it to your local
database.

If you don't, you can probably shortcut this whole process by simply
using sqlite - in your settings.py, change DATABASE_ENGINE to
'sqlite3' and your DATABASE_HOST to a filename, something like
'data.db'. Then run ./manage.py syncdb to create the empty database.
--
DR.

-- 
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.

Reply via email to