Latest

Monday, July 10, 2017

error when trying to use mssql with laravel

Asked by: dennis


I have a problem with my school project. I have to make a website with laravel and use mssql server for an database.

what i did so far is : Install the SQLSR30 driver, Place the extention in the php extention folder and after i added the extention in the php.ini file. also i have edited the env file in laravel.

the result is when i am trying to migrate using composer is this :

[Illuminate\Database\QueryException] SQLSTATE[HY000]: [Microsoft][ODBC Driver 11 for SQL Server]Protocol error i n TDS stream (SQL: select * from sysobjects where type = 'U' and name = mig rations)

[PDOException] SQLSTATE[HY000]: [Microsoft][ODBC Driver 11 for SQL Server]Protocol error i n TDS stream

Can anyone help me out with this ?

Sincerely Dennis & thx for looking into it!

EDIT : I am using xampp



Source

No comments:

Post a Comment

Adbox