title: Connection Error - SQLSTATE[HY000] [2002] Operation timed out
body: <p>I am having trouble connecting from my application server which is a Windows 2008 R2 box to MySQL Server box also running on Windows 2008 R2.</p>
  
  <p>The Laravel application reports the error:</p>
  
  <pre><code>exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Operation timed out'
  </code></pre>
  
  <p>The odd thing is I <strong>can</strong> connect via MySQL Workbench from the application server to the MySQL Server using exactly the same credentials and port, and the connection is quick.</p>
  
  <p>Can anyone shed any light on how this can be?</p>