Configuration settings for Sql Server database in django

22 views
Skip to first unread message

Rakhee Menon

unread,
Oct 10, 2018, 2:20:46 AM10/10/18
to Django users
Hello Everyone,

Please could anyone specify what are the configuration settings to be done in Django for using SQL Server 2014 as database instead of the default sqlite.

Thanks in Advance
Rakhee

Vinod Kumar

unread,
Oct 10, 2018, 3:03:18 AM10/10/18
to django...@googlegroups.com
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'db_name',
'USER': 'db_user',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '',
}
}

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1fbdbb75-8a31-4ab2-90b8-adef9c8fb300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

************************************************************************

This e-mail and all attachments are intended solely for use by the intended recipient and may contain confidential / proprietary information of KiwiTech, LLC, subject to important disclaimers and conditions including restrictions on the use, disclosure, transfer or export of such information. If you have received this message in error or are not the named recipient(s), please immediately notify the sender at the telephone number stated above or by reply e-mail and delete this e-mail from your computer

Rakhee Menon

unread,
Oct 10, 2018, 4:00:06 AM10/10/18
to Django users


Hi Vinod, Thanks for the quick response ...I also had doubt regarding  which version of python and django are supported for SQL Server 2014.

Thanks

Reply all
Reply to author
Forward
0 new messages