title: TCP Provider: Timeout error [258]
body: <p>I'm having some trouble with a PHP Script, using WordPress on Apache with PHP 5.x.</p>
  
  <p>I've built a WP plugin that is doing some query on a SQLServer, using PDO, but, on a query, the WP debug is returning this warning:</p>
  
  <pre><code>[22-Jan-2018 13:40:57 UTC] PHP Warning:  (null) in C:\xampp\htdocs\confart_intranet\wp-content\plugins\myplugin\myplugin.php on line 342
  [22-Jan-2018 13:40:57 UTC] PHP Warning:  PDOStatement::execute(): SQLSTATE[08S01]: Communication link failure: 258 [Microsoft][ODBC Driver 11 for SQL Server]TCP Provider: Timeout error [258].  in C:\xampp\htdocs\confart_intranet\wp-content\plugins\myplugin\myplugin.php on line 342
  </code></pre>
  
  <p>If I run the query on SSMS, I get always a result, but in PHP I got an empty array.</p>
  
  <p>Thank you all for your help and your support.</p>