Skip to content

Instantly share code, notes, and snippets.

View rrottmann's full-sized avatar

Reiner Rottmann rrottmann

View GitHub Profile
@rrottmann
rrottmann / freetds-odbc-in-python.md
Last active May 25, 2020 05:12 — forked from rduplain/README.md
Connect to MSSQL using FreeTDS / ODBC in Python.

Goal: Connect to MSSQL using FreeTDS / ODBC in Python.

Host: Ubuntu 11.10 x86_64

Install:

sudo apt-get install freetds-dev freetds-bin unixodbc-dev tdsodbc
pip install pyodbc sqlalchemy

In /etc/odbcinst.ini: