You do not have the MySQLdb module installed and this can be tricky to
setup on a hosted site. If you do not have shell access, contact your
administrator and ask for this module. Otherwise either get the
package or source from here http://sourceforge.net/projects/mysql-python
and install it through the terminal.

On Nov 14, 4:02 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I'm receiving this error as I work thru Tutorial 1 
> (http://www.djangoproject.com/documentation/tutorial01/):
>
> [EMAIL PROTECTED] mysite]# python manage.py syncdb
> Traceback (most recent call last):
>   File "manage.py", line 11, in ?
>     execute_manager(settings)
>   File "/usr/lib/python2.3/site-packages/django/core/management.py",
> line 1672, in execute_manager
>     execute_from_command_line(action_mapping, argv)
>   File "/usr/lib/python2.3/site-packages/django/core/management.py",
> line 1571, in execute_from_command_line
>     action_mapping[action](int(options.verbosity),
> options.interactive)
>   File "/usr/lib/python2.3/site-packages/django/core/management.py",
> line 486, in syncdb
>     from django.db import connection, transaction, models,
> get_creation_module
>   File "/usr/lib/python2.3/site-packages/django/db/__init__.py", line
> 11, in ?
>     backend = __import__('django.db.backends.%s.base' %
> settings.DATABASE_ENGINE, {}, {}, [''])
>   File "/usr/lib/python2.3/site-packages/django/db/backends/mysql/
> base.py", line 12, in ?
>     raise ImproperlyConfigured, "Error loading MySQLdb module: %s" % e
> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
> module: No module named MySQLdb
>
> What am I missing or is mis-configured?  My site is hosted by
> mediatemple, and it's a dv3 plan... if that helps.


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