Page 1 of 1

Django Connection To mySQL

Posted: Sun Dec 06, 2015 9:39 am
by magicrat
in "settings.py"

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'db_polls',
'USER': 'root',
'PASSWORD': 'x',
'HOST': 'localhost',
'PORT': '3306',
}
}