title: Symfony 6 / Doctrine - An exception occurred in the driver: could not find driver
body: <p>I tried to setup my symfony project, everything was well, since I tried to create the doctrine database.
  I written my DATABASE_URL in the .env file, that is correct, well I think so, but nothing works, either my local xampp server or my web server.</p>
  <p>I get always the same error:</p>
  <pre><code>[critical] Error thrown while running command &quot;doctrine:database:create&quot;. Message: &quot;An exception occurred in the driver: could not find driver&quot;
  
  
  In ExceptionConverter.php line 119:
  
    An exception occurred in the driver: could not find driver
  
  
  In Exception.php line 30:
  
    could not find driver
  
  
  In Driver.php line 28:
  
    could not find driver
  </code></pre>