I'm new to the PHP framework Laravel and I wanted to connect it with my database. What I have is:
- sqlsrv as default database connection
- add sqlsrv configuration
- Change the .env file
- Added the PHP driver to connect with SQL Server
But nothing is working :( The error I get is:
SQLSTATE[08001]: [Microsoft][ODBC Driver 11 for SQL Server]Named Pipes Provider: Could not open a connection to SQL Server (2)
Anyone who knows how to solve this? I tried MySQL and that connection worked btw ;)
via Sjoerd