title: Adaptive server connection failed (DB-Lib error message 20002, severity 9)
body: <p>I'm sure this issue has been raised an uncountable number of times before but perhaps, someone could still help me.<br>
  I am using pymssql v2.1.3 with Python 2.7.12 and the code that I used several times until yesterday to write data to my Azure SQL DB has somehow decided not to work anymore - for no apparent reason.  </p>
  
  <p>The firewall is set, my IP is in the whitelist, I can connect to the database using SQL Server Management Studio and query the data but I still keep getting this error when attempting to connect using pymssql.</p>
  
  <p>The app is a Flask web-app and following is how I connect to the DB:</p>
  
  <pre><code>conn = pymssql.connect(server='myserver.database.windows.net', user='myusername@mydatabase', password='mypassword', database='mydatabase')
  </code></pre>