BCS Django Using MySQL Backend

To use a MySQL database with Django change the settings file to depict the following.

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql', 
        'NAME': 'DB_NAME',
        'USER': 'DB_USER',
        'PASSWORD': 'DB_PASSWORD',
        'HOST': 'localhost',   # Or an IP Address that your DB is hosted on
        'PORT': '3306',
    }
}

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.