Re: connecting to mssql database

2016-08-18 Thread sum abiut
got it fixed, it was the version issue. i down grade from django 1.10 to 1.9.9 and it fixed. cheers On Thu, Aug 18, 2016 at 9:18 AM, sum abiut wrote: > now i have made changes to settings file > > DATABASES = { > 'default': { > 'ENGINE': 'django_pyodbc', > 'NAME': xxx', >

Re: connecting to mssql database

2016-08-17 Thread sum abiut
now i have made changes to settings file DATABASES = { 'default': { 'ENGINE': 'django_pyodbc', 'NAME': xxx', 'USER': 'xx', 'PASSWORD': 'xx', 'HOST': 'xxx', 'PORT': '1433', 'OPTIONS': { 'host_is_server': True, } }

Re: connecting to mssql database

2016-08-17 Thread sum abiut
I am getting the error mes django.db.utils.Error: ('IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found, and no default driver specified (0) (SQLDriverConnect)')sage On Wed, Aug 17, 2016 at 11:17 PM, Daniel França wrote: > What errors are you getting? > > On Wed, 17 Aug 201

Re: connecting to mssql database

2016-08-17 Thread Daniel França
What errors are you getting? On Wed, 17 Aug 2016 at 14:15 sum abiut wrote: > > Hi, > i am having a very hard time figuring out how to connect to a mssql > database. i've try following this guide but nothing seems to be working. > please help > > http://www.tivix.com/blog/getting-django-working-w

connecting to mssql database

2016-08-17 Thread sum abiut
Hi, i am having a very hard time figuring out how to connect to a mssql database. i've try following this guide but nothing seems to be working. please help http://www.tivix.com/blog/getting-django-working-with-mssql-pyodbc/ https://pypi.python.org/pypi/django-pyodbc-azure cheers, -- You recei