[GH-ISSUE #274] About MS SQL #83

Open
opened 2026-02-26 01:33:04 +03:00 by kerem · 1 comment
Owner

Originally created by @michliu on GitHub (May 19, 2022).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/274

How to connect to MS SQL ? DB_TYPE=? / DB_DRIVER=?

Originally created by @michliu on GitHub (May 19, 2022). Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/274 How to connect to MS SQL ? DB_TYPE=? / DB_DRIVER=?
Author
Owner

@educostadev commented on GitHub (Dec 21, 2022):

DB_TYPE=mssql and DB_DRIVER=pymssql

You can connect to your SQL Server using:

sandman2ctl mssql+pymssql://sa:PASSWORD@localhost:1433/master

I had to install sandman2, pymssql and upgrade the SQLAlchemy version

pip install sandman2 pymssql
pip install Flask-SQLAlchemy==2.5.1
<!-- gh-comment-id:1361757918 --> @educostadev commented on GitHub (Dec 21, 2022): DB_TYPE=mssql and DB_DRIVER=pymssql You can connect to your SQL Server using: ``` sandman2ctl mssql+pymssql://sa:PASSWORD@localhost:1433/master ``` I had to install sandman2, pymssql and upgrade the SQLAlchemy version ``` pip install sandman2 pymssql pip install Flask-SQLAlchemy==2.5.1 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sandman2-jeffknupp#83
No description provided.