Q: i want to add my sql database as well as default database that is mysqli settings.py
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

i do not have an idea about how to use SQL database also in my Django project please provide me a simple as well as easy way to do. i want to use multiple database as well the default one and mySQL database

A: 
Write this code in settings.py file--

    DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'OPTIONS': {
            'read_default_file': '/path/to/my.cnf',
        },
    }
}


A: Looks like you facing problems setting up Django with MySQL. Try this -
$ pip install mysql-python

If you still face issues I'd suggest read through a tutorial, something like this. Hope that helps.
