Unable to connect using pymssql with windows authentication
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: While trying to connect to MSSQL Server 2012 using pymssql, I get the following error. My server name in Windows Authentication is SARATH,User Name is Sarath\SarathShanker and I did not set a password. Code: mssql_conn=pymssql.connect(host='SARATH',user='Sarath\SarathShanker',password='',database='matrix') Error: Traceback (most recent call last): File "", line 1, in File "pymssql.pyx", line 556, in pymssql.connect (pymssql.c:7990) pymssql.OperationalError: (18452, 'Login failed. The login is from an untrusted domain and cannot be used with