My doctrine repository code doesn\'t work, while I am able to access the database and read table data normally.
I get this stacktrace:
E
For SQL Server 2019 Developer
In default installation:
The Fix
To enable TCP/IP:
Start Menu
-> Microsoft SQL Server 2019
-> SQL Server 2019 Configuration Manager
-> SQL Server Network Configuration
-> Protocols For MSSQLSERVER
-> TCP/IP
-> Enable
To enable SQL Authentication mode:
Start Menu
-> Microsoft SQL Server Tools
-> Microsoft SQL Server Management Studio
-> Right-Click the server node
-> Properties
-> Security
-> Under Authentication choose "SQL Server and Windows Authentication Mode"
Sql Server Configuration Manager -> Sql Server Network Configuration -> Protocols For -> TCP/IP ->
I changed the following
IpAll
TCP Dynamic Ports 49226
TCP Port
To:
IpAll
TCP Dynamic Ports
TCP Port 1433
Not sure what TCP Dynamic Ports are and why they were configured.