title: "Unexpected EOF" connecting to SQL Server
body: <p>I am trying to use pymssql to connect to a SQL Server 2012 database running on Windows Server 2008. </p>
  
  <pre><code>db = pymssql.connect(host='xxx',user='xxx',password='xxx',database='xxx')
  </code></pre>
  
  <p>However, I am getting the following error: </p>
  
  <blockquote>
    <p>OperationalError: (20017, 'DB-Lib error message 20017, severity 9:\nUnexpected EOF from the server\nDB-Lib error message 20002, severity 9:\nAdaptive Server connection failed\n')</p>
  </blockquote>
  
  <p>The full error is:</p>
  
  <pre><code>Traceback (most recent call last):
    File "XXX.py", line 2, in &lt;module&gt;
      conn = pymssql.connect(host = 'XXX.com', user = 'xxx', password = 'xxx', database = 'xxx')
    File "pymssql.pyx", line 556, in pymssql.connect (pymssql.c:7990)
      raise OperationalError(e[0])
  OperationalError: (20017, '\xa0\xff\xaf\x02\x90_\x8d\x02L\xd6\xa7\x02\xda\xad;DB-Lib error message 20017, severity 9:\nUnexpected EOF from the server\nDB-Lib error message 20002, severity 9:\nAdaptive Server connection failed\n')
  </code></pre>
  
  <p>Could someone help me figure out what's going on?</p>