[Tutor] Error while connecting to SQL Server using Python
Sachit Murarka
connectsachit at gmail.com
Fri Jul 22 23:15:10 EDT 2022
Hey David,
Thanks for response, The below file has access to the user which is being
executed to run python.
Kind Regards,
Sachit Murarka
On Sat, Jul 23, 2022 at 4:35 AM David <bouncingcats at gmail.com> wrote:
> 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.
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list