-
Notifications
You must be signed in to change notification settings - Fork 116
Troubleshooting
Warren Chu edited this page Feb 5, 2021
·
1 revision
Check if TCP/IP is enabled.
Open SQL Server Configuration Manager
. Under SQL Server Network Configuration
. Enable TCP/IP and active the IP used for connection in TCP/IP Properties.
If multiple versions of ODBC driver installed on the machine, specify the path to the driver in settings.py
DATABASES = {
"default": {
...
"OPTIONS": {
"driver": "/location/to/libmsodbcsql-17.0.so.2.1",
},
}
}