Unable to connect to SQL Server via pymssql

后端 未结 3 1801
一个人的身影
一个人的身影 2020-12-18 22:59

I am attempting to connect to SQL Server running on Windows XP system from a *nix system on a local server via pymssql. However, the connection fails as shown below

3条回答
  •  被撕碎了的回忆
    2020-12-18 23:30

    It looks like you've got this solved, but for anybody else from google that lands here: check to make sure mixed-mode authorization is turned on on your MS SQL Server. It defaults to only allowing Windows authorization, and that will cause this error in pymssql.

提交回复
热议问题