title: Internal Server Error when executing basic SQL statement
body: <p>I am working on my local wamp server and trying to retrieve data from a phpMyAdmin. But i am getting an error.</p>
  
  <blockquote>
    <p>could not find driver 500 Internal Server Error - PDOException</p>
  </blockquote>
  
  <p>my routing.yml</p>
  
  <pre><code># This file is auto-generated during the composer install
  parameters:
      database_driver: pdo_mysql
      database_host: www.example.com
      database_port: null
      database_name: mydb
      database_user: myuser
      database_password: mypass
      mailer_transport: smtp
      mailer_host: www.example.com
      mailer_user: null
      mailer_password: null
      locale: en
      secret: ThisTokenIsNotSoSecretChangeIt
      database_path: null
  </code></pre>
  
  <p>my controller</p>
  
  <pre><code>$connection = $this-&gt;get("database_connection");
  $statement = $connection-&gt;prepare("SELECT * FROM table");
  $statement-&gt;execute();
  $tabs = $statement-&gt;fetchAll();
  </code></pre>