Sybase X Django

51 views
Skip to first unread message

Henri GERARDIN

unread,
Jun 17, 2020, 5:55:51 AM6/17/20
to Django users
Hello everybody, 

I am trying to connect my Django project with a sybase database but i always get this mistake : Cannot locate reference to the DB server specified in DSURL. Here is my connection String :    

 'apidata': {

         'ENGINE': "sql_server.pyodbc",
         'HOST': "dsp_adt_django",
         'USER': "********",
         'PASSWORD': "********",
         'NAME': "APIDATA",
         'PORT': 4600,
         'OPTIONS': {
            'driver': 'Adaptive Server Enterprise',
            'isolation_level':'READ UNCOMMITTED',
            }
    }

Please Help !!

Henri GERARDIN

unread,
Jun 17, 2020, 6:00:03 AM6/17/20
to Django users
I made a change in my sql.ini and now i get this mistake : 
[SAP][ASE ODBC Driver][Adaptive Server Enterprise]Function 'SYSDATETIME' not found. If this is a SQLJ function or SQL function, use sp_help to check whether the object exists 
Reply all
Reply to author
Forward
0 new messages