Home > other >  Python pymssql connect to the database error.
Python pymssql connect to the database error.

Time:01-29

A ali SERVER, deploy a sql2008r2 database instance, the instance name is MSSQLSERVER, is the default port 1433. The remotely through SQL SERVER ManageMent Studio to access data, using PSMSSQL. Connect connection error,

Other posts of the firewall, modified TCP/IP Settings have been tried, still won't do the same error
For bosses and see what the problem is

'an error conn=pymssql. Connect (host=server, the user=userName, port=1433, password=password, database=database, charset=' cp936 ')
File "SRC \ pymssql pyx", line 642, in pymssql. Connect
Pymssql. OperationalError: (20009, b 'DB - Lib error message 20009, severity 9:
Unable to connect: the Adaptive Server is unavailable or does not exist (41.108.133.111:1433)
Net - Lib error during Unknown error (10060) \ nDB - Lib error message 20009, severity 9:
Unable to connect: the Adaptive Server is unavailable or does not exist (41.108.133.111:1433)
Net - Lib error during Unknown error (10060) ') '
'
  • Related