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:
- Solution of pymssql installation error under win
- SQLSTATE[01002] Adaptive Server connection failed (severity 9)
- [Solved] Python pymysql.err.OperationalError: (2013, ‘Lost connection to MySQL server during query…
- How to Solve MYSQL Error: pymysql.err.InterfaceError: (0, ”)
- [Install OpenStack] Sync keystone database error: keystone DBConnectionError: (pymysql.err.OperationalError) (2003, “Can’t connect to MySQL server on ‘controller’ ([Errno 111] Connection refused)”)
- [Solved] SQL Server Error: Cannot drop database XXX because it is currently in use
- Python: How to Modify AD Password
- How to Solve Name Error: module ‘yagmail’ has no attribute ‘SMTP’
- [Solved] Error when connecting to MySQL when creating Django project
- Solve the problem of pychart connecting MySQL 1366 and reporting an error