Use python 3.7
pymssql local connection error mysql 5.6
Solution: Reference
https://www.cnblogs.com/springbrotherhpu/p/11503139.html
https://blog.csdn.net/llx1026/article/details/79579572
1. https://sourceforge.net/projects/freetdswindows/ download windows of freetds
2. Extract, cmd enter F: \ FreeTDS-1.00-x86 \ freetds-1.00 \ bin
3. Try to connect error
The issue is
Adaptive Server connection failed
OS error 10060, "Unknown error"
4. solve
I am silly. . .
pymssql for the SQL SERVER
The use mysql, use pymysql. . . . . Stupid
CONFIG = { "host": '127.0.0.1', "user": 'erio', "pwd": '123', 'db': 'Library' } conn = pymysql.connect(CONFIG['host'], CONFIG['user'],CONFIG['pwd'])
So the connection is successful.