Opened 17 years ago

Last modified 17 years ago

#4743 closed

python manage.py syncdb — at Initial Version

Reported by: admin@… Owned by: Jacob
Component: Database layer (models, ORM) Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

when I try to execute the following command gives me an error:

python manage.py syncdb

Traceback (most recent call last):

File "manage.py", line 11, in <module>

execute_manager(settings)

File "/usr/lib/python2.5/site-packages/django/core/management.py", line 1672, in execute_manager

execute_from_command_line(action_mapping, argv)

File "/usr/lib/python2.5/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.5/site-packages/django/core/management.py", line 486, in syncdb

from django.db import connection, transaction, models, get_creation_module

File "/usr/lib/python2.5/site-packages/django/db/init.py", line 11, in <module>

backend = import('django.db.backends.%s.base' % settings.DATABASE_ENGINE, {}, {}, [])

File "/usr/lib/python2.5/site-packages/django/db/backends/mysql/base.py", line 20, in <module>

raise ImportError, "MySQLdb-1.2.1p2 or newer is required; you have %s" % Database.version

ImportError: MySQLdb-1.2.1p2 or newer is required; you have 1.2.2

Note the last line

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top