You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - `username`: The username for SQL Server authentication.
20
+
/// - `password`: The password for SQL Server authentication.
21
+
/// - `host`: The hostname or IP address of the SQL Server.
22
+
/// - `port`: The port number (default is 1433).
23
+
/// - `database`: The name of the database to connect to.
24
+
///
25
+
/// Supported query parameters:
26
+
/// - `instance`: SQL Server named instance.
27
+
/// - `encrypt`: Controls connection encryption:
28
+
/// - `strict`: Requires encryption and validates the server certificate.
29
+
/// - `mandatory` or `true` or `yes`: Requires encryption but doesn't validate the server certificate.
30
+
/// - `optional` or `false` or `no`: Uses encryption if available, falls back to unencrypted.
31
+
/// - `sslrootcert` or `ssl-root-cert` or `ssl-ca`: Path to the root certificate for validating the server's SSL certificate.
32
+
/// - `trust_server_certificate`: When true, skips validation of the server's SSL certificate. Use with caution as it makes the connection vulnerable to man-in-the-middle attacks.
33
+
/// - `hostname_in_certificate`: The hostname expected in the server's SSL certificate. Use this when the server's hostname doesn't match the certificate.
34
+
/// - `packet_size`: Size of TDS packets in bytes. Larger sizes can improve performance but consume more memory on the server
35
+
/// - `client_program_version`: Version number of the client program, sent to the server for logging purposes.
36
+
/// - `client_pid`: Process ID of the client, sent to the server for logging purposes.
37
+
/// - `hostname`: Name of the client machine, sent to the server for logging purposes.
38
+
/// - `app_name`: Name of the client application, sent to the server for logging purposes.
39
+
/// - `server_name`: Name of the server to connect to. Useful when connecting through a proxy or load balancer.
40
+
/// - `client_interface_name`: Name of the client interface, sent to the server for logging purposes.
41
+
/// - `language`: Sets the language for server messages. Affects date formats and system messages.
0 commit comments