Skip to content Skip to sidebar Skip to footer

Sqlalchemy Connects To Sqlserver Using Windows Authenticaton With Pymssql Driver

I can use pymssql to connect to SQLServer using Windows Authentication: conn = pymssql.connect(host='..', database='..', trusted=True) But how could I use SQLAlchemy to connect to

Solution 1:

I do not have pymssql to check, but try the version below:

mssql+pymssql://<freetds_name>?trusted=True

Post a Comment for "Sqlalchemy Connects To Sqlserver Using Windows Authenticaton With Pymssql Driver"