Skip to content

Instantly share code, notes, and snippets.

@adamghill
Last active January 2, 2016 03:49
Show Gist options
  • Save adamghill/8246755 to your computer and use it in GitHub Desktop.
Save adamghill/8246755 to your computer and use it in GitHub Desktop.
Access Sql Server from Python on OSX
  1. brew install freetds
  2. pip install pymssql==2.0.1
  3. vim ~/.odbc.ini
[dsn]
Driver = FreeTDS
Server = SERVER
Database = DATABASE
Port = 1604
TDS Version = 7.2
Trusted Connection = Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment