what does your server php info come back with - is pdo_sqlsrv installed and active?
Jul 15, 2020
3
Level 1
Laravel Connection To Sql Server 2012
I am trying to connect my laravel application to sql server 2012 but it gives this error : SQLSTATE[08001]: [Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: No connection could be made because the target machine actively refused it. (SQL: select * from ADM_Users)
following is my .env file code
DB_CONNECTION=sqlsrv DB_HOST=LAPTOP-L8COSQBB DB_PORT=1433 DB_DATABASE=NJIISO DB_USERNAME=sa DB_PASSWORD=admin123
Please or to participate in this conversation.