title: Error!: could not find driver PHP Mysql
body: <p>I am having an issue where my connection to mysql server fails with the above message . I have made sure that the </p>
  
  <ol>
  <li>extension folder = ext is enabled, </li>
  <li>The extension=php_pdo_mysql.dll is enabled as well </li>
  <li>In the extension directory the dll is present. </li>
  </ol>
  
  <p>I must mention this - I have manually downloaded and configured php , apache2 and mysql. although i can run phpinfo correctly , I am not sure if i have to enable something else so as to make my Db connections work</p>
  
  <p>Although if I run this test</p>
  
  <pre><code>if (!defined('PDO::ATTR_DRIVER_NAME')) {
   echo 'PDO unavailable';
  }
   else echo('pdo is available');
  </code></pre>
  
  <p>I get the message PDO is available. When I was researching for this error I came across <a href="https://stackoverflow.com/questions/3131411/php-code-to-test-pdo-is-available">php code to test pdo is available?</a> question wherein i happened to get to the above code fragment. </p>
  
  <p>any help would be well appreciated. </p>
  
  <p>thanks </p>