---
# System prepended metadata

title: pymssql 連線出錯問題

---

## MS SQL
![image](https://hackmd.io/_uploads/BJ9F5eosR.png)


## 寫 Python 程式連線到本機的 MS-SQL
![image](https://hackmd.io/_uploads/H1tcFgoiC.png)

## 連線出錯
![image](https://hackmd.io/_uploads/Hyqitejo0.png)

## Ref
https://learn.microsoft.com/zh-tw/sql/connect/python/pymssql/step-3-proof-of-concept-connecting-to-sql-using-pymssql?view=sql-server-ver16