I am trying to connect to SQL Server using Python's pyodbc. What I have is
conn= pyodbc.connect('Driver ={SQL server Native Client 19.0};'
'Server = ('my server name;'
'Database ='my database name;'
'Trusted_Connection = yes;')
But I get:
pyodbc.InterfaceError: ('IM002, '[IM002][Driver Manager] Data source name not found and no default driver specified(0)(SQLDriverConnect).
Not sure how to correct it?