Record: Options
Provides a set of additional configurations related to the MySQL database connection.
Closed record
Fields
- ssl SecureSocket?
- failoverConfig FailoverConfig?
- useXADatasource boolean(default false)
- connectTimeout decimal(default 30)
- socketTimeout decimal(default 0)
- serverTimezone string?
- noAccessToProcedureBodies boolean(default false)
SSL configurations to be used
Server failover configurations to be used
Flag to enable or disable XADatasource
Timeout (in seconds) to be used when establishing a connection to the MySQL server
Socket timeout (in seconds) to be used during the read/write operations with the MySQL server (0 means no socket timeout)
Configures the connection time zone, which is used by the Connector/J
if the conversion between a Ballerina
application and a target time zone is required when preserving instant temporal values
With this option the user is allowed to invoke procedures with access to metadata restricted