title: PDO driver exception symfony2
body: <p>im on ubuntu12.10 using xampp 1.8.1</p>
  
  <p>i was working on a symfony2 project on a windows machine and im currently working on same project from ubuntu machine.</p>
  
  <p>the problem is when i run commands like </p>
  
  <pre><code>php app/console doctrine:schema:update
  </code></pre>
  
  <p>it gives error </p>
  
  <blockquote>
    <p>PDO exception:could not find driver</p>
  </blockquote>
  
  <p>whereas i checked my phpinfo and pdo_mysql is enabled.also there are many select and insert queries in my project which are working fine.</p>
  
  <p>also when i run  <code>php -m</code> it shows only PDO and not pdo_mysql</p>
  
  <p>is something wrong with the enviornment variable or something like that?</p>