Hi everybody,
I created a virtualenv with python 3.3 and django 1.6. I set the settings.py with my default database info:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'danbabelnick$default', 'USER': 'danbabelnick', 'PASSWORD': 'mypassword', 'HOST': 'mysql.server', 'PORT': '3306', } }
But, when I try to execute the first syncdb command:
python manage.py syncdb
I got the following error:
Traceback (most recent call last): File "/home/danbabelnick/envs/babyboxenv/lib/python3.3/site-packages/django/db/backends/mysql/base.py", line 14, in <module> import MySQLdb as Database ImportError: No module named 'MySQLdb' ............. django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'
Any help please?