Skip to main content

Module tunnel

Module tunnel 

Source

Structs§

Config
Configuration for MySQL connections.
MySqlConn
A MySQL connection with an optional SSH tunnel handle.
TimeoutConfig

Enums§

TunnelConfig
Configures an optional tunnel for use when connecting to a MySQL database.

Constants§

DEFAULT_CONNECT_TIMEOUT
DEFAULT_SNAPSHOT_LOCK_WAIT_TIMEOUT
DEFAULT_SNAPSHOT_MAX_EXECUTION_TIME
DEFAULT_SNAPSHOT_WAIT_TIMEOUT
The wait_timeout to set on connections used during snapshotting, chosen to comfortably outlast even very long-running snapshots.
DEFAULT_TCP_KEEPALIVE
MAX_SNAPSHOT_WAIT_TIMEOUT
The maximum value MySQL accepts for wait_timeout on Windows, which is lower than the Unix maximum and so the portable upper bound.
MIN_SNAPSHOT_WAIT_TIMEOUT
The minimum value MySQL accepts for wait_timeout.