title: Artisan migrate could not find driver
body: <p>I am trying to install Laravel. I have installed <code>Xampp</code>, but when I try to setup my database using <code>php artisan migrate</code>I get the error:</p>
  
  <blockquote>
    <p><strong>[Illuminate\Database\QueryException]   could not find driver (SQL: select * from information_schema.tables where table_schema = homestead
    and table_name =    migrations)   [PDOException]   could not find
    driver</strong></p>
  </blockquote>
  
  <p><code>config/database.php</code> file has the relevant connections:</p>
  
  <pre><code>'connections' =&gt; [
  
      'sqlite' =&gt; [
          'driver' =&gt; 'sqlite',
          'database' =&gt; env('DB_DATABASE', database_path('database.sqlite')),
          'prefix' =&gt; '',
      ],
  
      'mysql' =&gt; [
          'driver' =&gt; 'mysql',
          'host' =&gt; env('DB_HOST', '127.0.0.1'),
          'port' =&gt; env('DB_PORT', '3306'),
          'database' =&gt; env('DB_DATABASE', 'forge'),
          'username' =&gt; env('DB_USERNAME', 'forge'),
          'password' =&gt; env('DB_PASSWORD', ''),
          'unix_socket' =&gt; env('DB_SOCKET', ''),
          'charset' =&gt; 'utf8mb4',
          'collation' =&gt; 'utf8mb4_unicode_ci',
          'prefix' =&gt; '',
          'strict' =&gt; true,
          'engine' =&gt; null,
      ],
  
      'pgsql' =&gt; [
          'driver' =&gt; 'pgsql',
          'host' =&gt; env('DB_HOST', '127.0.0.1'),
          'port' =&gt; env('DB_PORT', '5432'),
          'database' =&gt; env('DB_DATABASE', 'forge'),
          'username' =&gt; env('DB_USERNAME', 'forge'),
          'password' =&gt; env('DB_PASSWORD', ''),
          'charset' =&gt; 'utf8',
          'prefix' =&gt; '',
          'schema' =&gt; 'public',
          'sslmode' =&gt; 'prefer',
      ],
  
      'sqlsrv' =&gt; [
          'driver' =&gt; 'sqlsrv',
          'host' =&gt; env('DB_HOST', 'localhost'),
          'port' =&gt; env('DB_PORT', '1433'),
          'database' =&gt; env('DB_DATABASE', 'forge'),
          'username' =&gt; env('DB_USERNAME', 'forge'),
          'password' =&gt; env('DB_PASSWORD', ''),
          'charset' =&gt; 'utf8',
          'prefix' =&gt; '',
      ],
  
  ],
  </code></pre>
  
  <p>Any ideas?</p>