lundi 30 juillet 2018

Illuminate\Database\QueryException : could not find driver

I am using centos on vps. I have installed laravel and postgres. But i get these errors, Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations)

at /home/admin/web/servers1.dreamploy.com/public_html/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") /home/admin/web/servers1.dreamploy.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:68



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire