(20002, b’DB-Lib error message 20002, severity 9:\nAdaptive Server connection failed (127.0.0…

python 3.7

pymssql LINKEL RESPONSIBLE 5.6

Resolution: View

https://www.cnblogs.com/springbrotherhpu/p/11503139.html

https://blog.csdn.net/llx1026/article/details/79579572

1 https://sourceforge.net/projects/freetdswindows/ DOWNLOAD freetds IN windows

2. Explorer, cmd progress F:\FreeTDS-1.00-x86\freetds-1.00\bin

3. Monday 23581;>

Questions

Adaptive Server connection failed
OS error 10060, “Unknown error”

Resolution 4

I’m dead.

pymssql for SQL SERVER

Use pymysql instead of mysql.

CONFIG = {
    "host": '127.0.0.1',
    "user": 'erio',
    "pwd": '123',
    'db': 'Library'
}


conn = pymysql.connect(CONFIG['host'], CONFIG['user'],CONFIG['pwd'])

The connection is successful

Similar Posts: