Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server = 'tcp:myserverinst1'
- database = 'mydatabase'
- username = 'myusername'
- password = 'mypassword'
- cnxn = pyodbc.connect('DRIVER={ODBC Driver 13 for SQL Server};SERVER=' + server + ';DATABASE=' + database + ';UID=' + username + ';PWD=' + password)
- pyodbc.OperationalError: ('HYT00', u'[HYT00] [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')
- [ODBC Driver 13 for SQL Server]
- Description=Microsoft ODBC Driver 13 for SQL Server
- Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.1.so.9.1
- UsageCount=1
Add Comment
Please, Sign In to add comment