In python I'm trying the following:
import pyodbc
cnxn = pyodbc.connect('DRIVER={FreeTDS};SERVER=xxxxxx.database.windows.net;DATABASE=xxxxxx;UID=xxxxxx;PWD=xxxxxx')cursor = cnxn.cursor()
and get:
Traceback (most recent call last):
File "insights-stats-1.py", line 5, in <module>
cnxn = pyodbc.connect('DRIVER={FreeTDS};SERVER=xxxxxx.database.windows.net;DATABASE=xxxxxx;UID=xxxxxx;PWD=xxxxxx')
pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'FreeTDS' : file not found (0) (SQLDriverConnect)")
I've tried {FreeTDS}, {SQL Server}, setting up a DNS and calling it through that instead of the server name, but none of it seems to be working for me.
Can anyone help me diagnose and step through this?
Thanks!