title: MS SQL SERVER, PHP, PDO, ODBC: Login failed for user
body: <p>I'm trying to connect using a string:</p>
  
  <pre><code>odbc:Driver={SQL Server Native Client 11.0};Server=(localdb)\v11.0;Database=test;uid=sa;password=123321;
  </code></pre>
  
  <p>Result: SQLSTATE[28000] SQLDriverConnect: 18456 [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for user 'sa'.</p>
  
  <p>When I try to connect using Windows ODBC Data Source Administrator the connection is successful.</p>
  
  <p>What the problem might be in?</p>