#install mysqlclient in your django project
(env) $ pip install mysqlclient
#create the database using phpMyAdmin, MySQL Workbench,
#or MySQL Command Line Client
#update the DATABASES dictionary in settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'database_name',
'USER': 'database_username(default: root)',
'PASSWORD': 'database_password(default:'')',
'HOST': '127.0.0.1',
'PORT': '3306',
'OPTIONS': {'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"},
}
}
#migrate!
(env) $ python manage.py migrate