pypyodbc icon indicating copy to clipboard operation
pypyodbc copied to clipboard

Connection String "Data Source" keyword is not supported

Open jizhoubo opened this issue 8 years ago • 1 comments

currenly only "Server" keyword is supported, but "Data Source" is not, although they mean the same thing....

[Fri Dec 16 00:15:17.144880 2016] [wsgi:error] [pid 11572:tid 1056] [client xx.xx.xx.xx:xx] DatabaseError: (u'08001', u'[08001] [Microsoft][ODBC SQL Server Driver]Neither DSN nor SERVER keyword supplied')

jizhoubo avatar Dec 16 '16 04:12 jizhoubo

Not an issue. Data Source is simply not recognized by the ODBC driver. It is up to the calling application to include the correct parameters in the connection string.

gordthompson avatar Jul 30 '17 15:07 gordthompson