title: Connect to MSSQL Server 2008 on linux
body: <p>I am wondering how to connect to a MSSQL Server 2008 from a linux machine. I do currently have FreeTDS installed - I haven't had any luck getting bsqldb working, however. I've currently been able to connect to this database using the following python code (in Windows):</p>
  
  <pre><code>import pyodbc
  cnxn = pyodbc.connect("DRIVER={SQL Server};"
                        +"SERVER=something.example.com;"
                        +"DATABASE=exampledatabase;"
  </code></pre>
  
  <p>I believe my Windows credentials are being passed here. Does anyone have any recommendations for what to use in linux?</p>