Python Connector for SQL Server

Connection parameters - Python Connector for SQL Server

Connection parameters

The following table describes the SQL Server connection parameters you can use in the connect() module method.

Parameter Description

Authentication

The authentication mode. The possible values are:

  • SQLServer – (Default) Mixed mode authentication
  • Windows – Windows authentication mode

Server

The server name or IP address

Port

The port number. The default value is 1433.

UserId

The name of the database user

Password

The password of the database user

Database

The name of the database

PoolId

The ID of a connection pool that will be used for a particular connection

DisablePooling

Disables connection pooling for a particular connection.

The possible values are True and False. The default value is False.

© 2022-2025 Devart. All Rights Reserved. Request Support Python Connectors Forum Provide Feedback