mardi 30 mai 2017

Laravel 5 PDOException Could Not Find Driver : sqlsrv

I could run the application, but when database connection needed, I got this error

PDOException in Connector.php line 55:
could not find driver
in Connector.php line 55
at PDO->__construct('sqlsrv:Server=192.168.5.43;Database=SSSPL', 'sssplwebuser', 'Welcome1', array('0', '2', '0', false)) in Connector.php line 55
at Connector->createConnection('sqlsrv:Server=192.168.5.43;Database=SSSPL', array('driver' => 'sqlsrv', 'host' => '192.168.5.43', 'database' => 'SSSPL', 'username' => 'sssplwebuser', 'password' => 'Welcome1', 'charset' => 'UTF8', 'prefix' => '', 'name' => 'sqlsrv'), array('0', '2', '0', false)) in SqlServerConnector.php line 32

How to fix it?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire