Hi All,
Changed DATABASE code as under in setting.py in Django project. But not
getting able to connect to MS SQL Server. Please suggest.
ATABASES = {
'default': {
'NAME': 'APJ_AIM_LITE',
'ENGINE': 'sqlserver_ado',
'HOST': 'DB_SERVER',
'USER': '',
'PAS
Create your database in MySQL
Migrate your files
On Sun, 6 Jan 2019 at 23:25, Praveen Kumar
wrote:
> Hi All,
>
> Changed DATABASE code as under in setting.py in Django project. But not
> getting able to connect to MS SQL Server. Please suggest.
>
> ATABASES = {
> 'default': {
> 'NAME
Hi,
What happens? Do you get errors? Nothing?
On Sun, Jan 6, 2019 at 7:56 PM Praveen Kumar
wrote:
> Hi All,
>
> Changed DATABASE code as under in setting.py in Django project. But not
> getting able to connect to MS SQL Server. Please suggest.
>
> ATABASES = {
> 'default': {
> 'NAME
Make sure the port MSSQL is open.
From: django-users@googlegroups.com On Behalf
Of BALA KRISHNAN
Sent: 07 January 2019 13:34
To: django-users@googlegroups.com
Subject: Re: ms sql server connectivity to django
Create your database in MySQL
Migrate your files
On Sun, 6 Jan 2019 at 23
Hi Mate,
I had the same issues with connecting to MS SQL.
This is the configuration which worked for me...
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'HOST': 'XXX',
'PORT': '1433',
'USER': 'XXX',
'PASSWORD': 'XXX',
'NAME': 'XXX',
Hi mate,
I had the same issue with MS SQL.
This worked for me:
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'HOST': 'xxx',
'PORT': '1433',
'USER': 'xxx',
'PASSWORD': 'xxx',
'NAME': 'xx',#table name
'CONN_MAX_AGE': 0,
6 matches
Mail list logo