Driver Value Doesn't work
dapolloxp opened this issue · comments
David Apolinar commented
When trying to connect to SQL using the Python driver listed below, the connection fails
I have to use this format for it to connect
cnxn = pyodbc.connect('DRIVER={SQL Server};SERVER=localhost;DATABASE=testdb;UID=me;PWD=pass')
Doug Erickson commented
@kraigb -- can you investigate?
Kraig Brockschmidt commented
@dapolloxp From what I can see, you're saying that DRIVER needs to be {SQL Server} rather than {ODBC Driver 13 for SQL Server}. Is that the case? It looks like everything else is the same, except that your format doesn't include PORT; perhaps that also isn't needed?