1#add this settings in settings file
2
3DATABASES = {
4 'default': {
5 'ENGINE': 'django.db.backends.mysql',
6 'NAME': 'DB_NAME',
7 'USER': 'DB_USER',
8 'PASSWORD': 'DB_PASSWORD',
9 'HOST': 'localhost', # Or an IP Address that your DB is hosted on
10 'PORT': '3306',
11 }
12}
13