2👍
✅
Check the DATABASES
setting in your settings.py
. You should have something like
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'database',
'USER': 'user',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '',
}
}
Just change localhost
to your desired hostname.
Source:stackexchange.com