*`user id` - enter the SQL Server Authentication user id or the Windows Authentication user id in the DOMAIN\User format. On Windows, if user id is empty or missing Single-Sign-On is used.
*`password`
*`database`
*`connection timeout` - in seconds (default is 30)
*`dial timeout` - in seconds (default is 5)
*`encrypt`
*`disable` - Data send between client and server is not encrypted.
*`false` - Data sent between client and server is not encrypted beyond the login packet. (Default)
*`true` - Data sent between client and server is encrypted.
*`keepAlive` - in seconds; 0 to disable (default is 30)
*`app name` - The application name (default is go-mssqldb)
### Connection parameters for ODBC and ADO style connection strings:
*`server` - host or host\instance (default localhost)
*`port` - used only when there is no instance in server (default 1433)
### Less common parameters:
*`failoverpartner` - host or host\instance (default is no partner).
*`failoverport` - used only when there is no instance in failoverpartner (default 1433)
*`packet size` - in bytes; 512 to 32767 (default is 4096)
* Encrypted connections have a maximum packet size of 16383 bytes
* Further information on usage: https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-the-network-packet-size-server-configuration-option
*`log` - logging flags (default 0/no logging, 63 for full logging)
* false - Server certificate is checked. Default is false if encypt is specified.
* true - Server certificate is not checked. Default is true if encrypt is not specified. If trust server certificate is true, driver accepts any certificate presented by the server and any host name in that certificate. In this mode, TLS is susceptible to man-in-the-middle attacks. This should be used only for testing.
*`certificate` - The file that contains the public key certificate of the CA that signed the SQL Server certificate. The specified certificate overrides the go platform specific CA certificates.
*`hostNameInCertificate` - Specifies the Common Name (CN) in the server certificate. Default value is the server host.
*`ServerSPN` - The kerberos SPN (Service Principal Name) for the server. Default is MSSQLSvc/host:port.
*`Workstation ID` - The workstation name (default is the host name)
*`ApplicationIntent` - Can be given the value `ReadOnly` to initiate a read-only connection to an Availability Group listener.