[Tutor] Error while connecting to SQL Server using Python

Mats Wichmann mats at wichmann.us
Fri Jul 22 14:12:45 EDT 2022


On 7/22/22 12:08, Sachit Murarka wrote:
> Hi Mats/Dennis,
> 
> Following is the output.
> 
>  $cat /etc/odbcinst.ini
> [ODBC Driver 17 for SQL Server]
> Description=Microsoft ODBC Driver 17 for SQL Server
> Driver=/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.10.so.1.1
> UsageCount=1
> 
> We are using Ubuntu and we have installed odbc driver as well.

>>     If it *is* Linux, check that the driver you're trying to use is listed
>>     in /etc/odbcinst.ini.  There are a bunch of defaults there, but I think
>>     the Microsoft ODBC drivers, of which there about two zillion different
>>     versions, are not among them.

Well, there goes my one idea, already taken care of (assuming all is
correct with that - it did say "file not found")... hope somebody else
has some ideas!






More information about the Tutor mailing list