hmily3913 commented on issue #29497:
URL: https://github.com/apache/superset/issues/29497#issuecomment-2216874812
The version of pymssql is 2.3.0
Version: freetds v1.3.17
In container, i code a testsql.py like this:
`import pymssql
conn = pymssql.connect(host='10.0.0.7:1433', user='sa', password='loginpwd',
database='xxpt')
if conn:
print(f"θΏζ₯ζε{conn}-----")`
Error:
pymssql._mssql.MSSQLDatabaseException: (20002, b'DB-Lib error message 20002,
severity 9:\nAdaptive Server connection failed (10.0.0.7)\nDB-Lib error message
20002, severity 9:\nAdaptive Server connection failed (10.0.0.7)\n')
ping 10.0.0.7 ,telnet 10.0.0.7 1433
Work right
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]