11 months ago

MS SQL could not find the driver

Posted 11 months ago by Nosean

have the following problem. I'm trying to connect laravel to MS SQL. Have all new drivers installed and released in the php.ini.

I can successfully test the connection.

            echo "conncted sucessfully to database ".DB::connection()->getDatabaseName();

but if I try to start a query by Eloquent I get the following error message

            $test = DB::table('PFFahrzeuge')->get();

Illuminate \ Database \ QueryException could not find driver (SQL: select * from [PFFahrzeuge])

Anyone an Idea ???

Please sign in or create an account to participate in this conversation.