Not available for mssql database
Trying to connect to my computer database. The user is created, and through Management studio, I can go right in. When you try to do it, it's a mistake. One year ago, he contacted mssql, and that code was working normally, the only thing that wasn't there was an instance and just walked straight to the host.
import pytds with pytds.connect(dsn='qwer\\qwer', database='qwer', user='sa', password='12345', autocommit=True) as conn: cur = conn.cursor() print('ok') conn.close()
The next mistake comes out.
pytds.tds_base.LoginError: ("Cannot connect to server 'KEFIR740': [WinError 10054] Удаленный хост принудительно разорвал существующее подключение", ConnectionResetError(10054, 'Удаленный хост принудительно разорвал существующее подключение', None, 10054, None))
I've tried differently, and as in qwer's documentation, but it's still a mistake.
Try to check the following:
- Spread the server from BDE: ping -a UP address
- Check whether the port on which you want to be connected to the OBD system: telnet ÉIPres par vonomer port
- See if your OBD ssl requires