LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlLoadBalance enumeration

public enum MySqlLoadBalance

Values

namevaluedescription
RoundRobin0Each new connection opened for a connection pool uses the next host name (sequentially with wraparound).
FailOver1Each new connection tries to connect to the first host; subsequent hosts are used only if connecting to the first one fails.
Random2Servers are tried in random order.
LeastConnections3Servers are tried in ascending order of number of currently-open connections.

See Also