0
Cimb posted
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
i installed mysql with php and i want to use same server for the Djangoi changed the settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'dbname'
'USER': 'user',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '8041',
}
}
when i run the Django server i got following error
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Did you install mysqlclient?