Hello,
Please, could someone help me to connect my CakePHP 4.0.5 with a SQL Server 2018?
I am completely new with CakePHP and I confess that I am lost.
Environment:
CakePHP 4.0.5
SQL Server 2018
XAMP (Apache + PHP7.4.4)
Message error that I am getting:
“CakePHP is NOT able to connect to the database.
Connection to Sqlserver could not be established: SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]Named Pipes Provider: Could not open a connection to SQL Server [53].”
These things are almost always firewalls or permissions issues on the database server (e.g. not allowing connections from the system your PHP code is running on).
Thanks for the advice.
I tested with MySQL and it works fine.
About the SQLServer, we have an old system and I need to connect to a DB that we are using already.