mardi 2 mai 2017

PHP Laravel Adaptive Server connection failed (severity 9)

I'm trying to use mssql with my laravel project. But when I execute the select query.

[Illuminate\Database\QueryException] SQLSTATE[01002] Adaptive Server connection failed (severity 9) (SQL: exec sp_EntityFullList)

[Doctrine\DBAL\Driver\PDOException] SQLSTATE[01002] Adaptive Server connection failed (severity 9)

[PDOException] SQLSTATE[01002] Adaptive Server connection failed (severity 9)

$db = DB::connection('sqlsrv');
        print_r($db->select('exec sp_EntityFullList')->disableQueryLog());



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire