I am getting this error on my windows vscode terminal after adjusting the database settings on my
settings.py
to
Xampp
settings in Django:
File "C:\Users\Admin\Desktop\ExPro\venexp\lib\site-packages\django\db\backends\mysql\base.py", line 17, in <module>
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Did you install mysqlclient?
I get the error immediately I tried to run server which is supposed to run smoothly and prime me to migrate unapplied migrations.. but instead I keep getting the above error no matter what I do.
The settings I implemented on my settings.py before running server is below:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'blog',
'USER': 'root',
'PASSWORD': '',
'HOST': 'localhost',
'PORT': '3306',
}
}