title: Laravel migration could not find driver
body: <p>I have this error when i try to make <code>php artisan migrate</code></p>
  <pre><code>
     Illuminate\Database\QueryException 
  
    could not find driver (SQL: select * from information_schema.tables where table_schema = lsapp and table_name = migrations and table_type = 'BASE TABLE')
  
    at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
      667|         // If an exception occurs when attempting to run a query, we'll format the error
      668|         // message to include the bindings with SQL, which will make this exception a
      669|         // lot more helpful to the developer instead of just the database's errors.
      670|         catch (Exception $e) {
    &gt; 671|             throw new QueryException(
      672|                 $query, $this-&gt;prepareBindings($bindings), $e
      673|             );
      674|         }
      675| 
  
        +34 vendor frames 
    35  artisan:37
        Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
  </code></pre>
  <p>I have already create my database on phpmyadmin. here is the configuration of my .env file</p>
  <pre><code>DB_CONNECTION=mysql
  DB_HOST=localhost
  DB_PORT=3306
  DB_DATABASE=lsapp
  DB_USERNAME=root
  DB_PASSWORD=
  </code></pre>
  <p>and here the coonfiguration of mysql in my config/database.php</p>
  <pre><code>'mysql' =&gt; [
              'driver' =&gt; 'mysql',
              'url' =&gt; env('DATABASE_URL'),
              'host' =&gt; env('DB_HOST', 'localhost'),
              'port' =&gt; env('DB_PORT', '3306'),
              'database' =&gt; env('DB_DATABASE', 'lsapp'),
              'username' =&gt; env('DB_USERNAME', 'root'),
              'password' =&gt; env('DB_PASSWORD', ''),
              'unix_socket' =&gt; env('DB_SOCKET', ''),
              'charset' =&gt; 'utf8mb4',
              'collation' =&gt; 'utf8mb4_unicode_ci',
              'prefix' =&gt; '',
              'prefix_indexes' =&gt; true,
              'strict' =&gt; true,
              'engine' =&gt; null,
              'options' =&gt; extension_loaded('pdo_mysql') ? array_filter([
                  PDO::MYSQL_ATTR_SSL_CA =&gt; env('MYSQL_ATTR_SSL_CA'),
              ]) : [],
          ]
  </code></pre>
  <p>help me solve that problem</p>