Python database connection -


It is possible to add a connection timeout in the code below in Python, please help me if possible < Pre-> connectionString = "provider = SQLOLEDB.1; data source =" + options.server + "; initial catalog =" + options.database + "; Integrated security = SSPI" connection = win32com.client.Dispatch (' ADODB.Recordset ') connection. Active connection = connection string connection Active connection COMMANDTimeout = 3600

Read a general example here:

Comments