0

Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = sisfosekolah and table_name = migrations and table_type = 'BASE TABLE')

theduck
  • 2,589
  • 13
  • 17
  • 23
anwar tan
  • 11
  • 3
  • please check your all migration file in database and also migration folder. – VIKAS KATARIYA Sep 28 '19 at 15:28
  • i already check and only 2 file migration – anwar tan Sep 28 '19 at 15:32
  • the error : 660| // If an exception occurs when attempting to run a query, we'll format the error 661| // message to include the bindings with SQL, which will make this exception a 662| // lot more helpful to the developer instead of just the database's errors. 663| catch (Exception $e) { > 664| throw new QueryException( 665| $query, $this->prepareBindings($bindings), $e 666| ); 667| } 668| – anwar tan Sep 28 '19 at 15:34
  • Possible duplicate of [Laravel: PDOException: could not find driver](https://stackoverflow.com/questions/42557693/laravel-pdoexception-could-not-find-driver) – Sakthivel A R Sep 28 '19 at 16:54

1 Answers1

0
**In your php.ini configuration file simply uncomment the extension:**



  ;extension=php_pdo_mysql.dll

(You can find your php.ini file in the php folder where your stack server is installed.)

If you're on Windows make it: extension=php_pdo_mysql.dll

If you're on Linux make it: extension=pdo_mysql.so

And do a quick server restart.
VIKAS KATARIYA
  • 5,867
  • 3
  • 17
  • 34