Open legioz opened 3 years ago
@luizfelipevbll we are facing the same issue on a serverless database, we thought that's related with auto-pause feature, but after digging a bit more we are less confident that is the issue. Any help would be apreciated.
I don't have much experience with SQL Server but in my case issue was caused by ODBC drivers (testing with sqlcmd failed, mssql-cli from pip worked) and I had to create a data source in /etc/odbc.ini
and connect through DSN. Here's a detailed explanation: https://stackoverflow.com/a/48367250
@luizfelipevbll : did you find a solution to the problem you were facing because I am also facing the same issue trying to connect my django app with the ms sql server.
I got this same issue, how you solved it?
'HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)'
I am getting the error above, I am using Django 3.0.5 with django-mssql-backend 2.8.1
My config on settings.py is:
The port DB2_PORT variable cannot be an empty string.
All variables are beeing passed correctly and I can connect directly to DB2 using others MSSQL clients
[