title: Getting '08S01', '[08S01] [Microsoft][ODBC Driver 11 for SQL Server]Communication link failure (0) (SQLExecDirectW)'
body: <p>I'm using pyodbc with Microsoft SQL Server database on CentOS. Things working fine but after some time suddenly I start getting <code>'08S01', '[08S01] [Microsoft][ODBC Driver 11 for SQL Server]Communication link failure (0) (SQLExecDirectW)'</code>. I looked for solution and got suggestions like database performance issue, network connectivity issue which I checked and working fine. It is even not generating trace file.</p>
  
  <p><strong>My configs</strong> </p>
  
  <pre><code>/etc/odbc.ini
  
  [sqlserver]
  TraceFile  =  /tmp/odbc.trace
  Trace      =  1
  Driver=FreeTDS
  Description=ODBC connection via FreeTDS
  Server=***
  Port=1433
  ServerName=sqlserver
  Database=***
  
  odbci.ini
  [sqlserver]
  Driver = FreeTDS
  Description = ODBC connection via FreeTDS
  Host = ***
  Port = 1433
  ServerName = sqlserver
  Database = ***
  TraceFile  =  /tmp/odbc.log
  Trace      =  Yes
  </code></pre>