[Tutor] Error while connecting to SQL Server using Python
David
bouncingcats at gmail.com
Fri Jul 22 19:03:40 EDT 2022
On Sat, 23 Jul 2022 at 04:14, Mats Wichmann <mats at wichmann.us> wrote:
> On 7/22/22 12:08, Sachit Murarka wrote:
> > $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
Another easy thing to check could be to find out what user the Python
process is running as, and confirm that this user can read the file at
/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.10.so.1.1
and all its parent directories.
More information about the Tutor
mailing list