I was searching solution of this problem but i did not find exactly the same which I have. This is all error message:
Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = forge and table_name = migrations)
at /mnt/c/xampp/htdocs/blog/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 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|
Exception trace:
1 PDOException::("could not find driver") /mnt/c/xampp/htdocs/blog/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70
2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=forge", "forge", "", []) /mnt/c/xampp/htdocs/blog/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70
Please use the argument -v to see more details.
I tried make command sudo apt-get install php7.0-pgsql
and other from this topic Laravel: Error [PDOException]: Could not Find Driver in PostgreSQL
and still does not work.