18👍
✅
For python 2.7, 3.3+ there is a driver called mysqlclient that works with django 1.8
pip install mysqlclient
And in your settings
DATABASES = {
'default': {
'NAME': '',
'ENGINE': 'django.db.backends.mysql',
'USER': '',
'PASSWORD': '',
}
}
Here’s the official django documentation about the mysql drivers:
https://docs.djangoproject.com/en/1.8/ref/databases/#mysql-db-api-drivers
Source:stackexchange.com