title: Can't connect to SQL Server with PyMSSQL on Windows - 'Unexpected EOF from the server'
body: <p>I have been trying to connect to a MS SQL 2008 Server from a Windows 7 64 bit OS, using the PyMSSQL, version pymssql-2.0.0b1.win-amd64-py2.7, in Python 2.7.</p>
  
  <pre><code>import pymssql
  conn = pymssql.connect(host='host', user='user', password='password', database='database')
  </code></pre>
  
  <p>But when I enter the correct login credentials for Server, User ID, Password, and Database, I get the following error:</p>
  
  <blockquote>
    <p>err_handler(dbproc = 025D30D8, severity = 9,  dberr = 20017, oserr = 0, dberrstr = 'Unexpected EOF from the server'</p>
  </blockquote>
  
  <p>I have seen others having this issue using FreeTDS for Linux machines and having the incorrect TDS version set. Since I'm on a Windows OS though, it was my impression that I do not need to use FreeTDS or specify a TDS version. Is this true? Do I still need to specify a TDS version somewhere?</p>
  
  <p>Please offer any advice or help you can. Thanks.</p>