Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

pool_params

(EXPERIMENTAL) Configuration parameters for connection_pool.

Synopsis

Defined in header <boost/mysql/pool_params.hpp>

struct pool_params
Data Members

Name

Description

connect_timeout

The timeout to use when connecting.

database

Database name that connections created by the pool will use when connecting.

initial_buffer_size

Initial size (in bytes) of the internal buffer for the connections created by the pool.

initial_size

Initial number of connections to create.

max_size

Max number of connections to create.

multi_queries

Whether to enable support for semicolon-separated text queries for connections created by the pool.

password

Password that connections created by the pool should use.

ping_interval

The health-check interval.

ping_timeout

The timeout to use for pings and session resets.

retry_interval

The interval between connect attempts.

server_address

Determines how to establish a physical connection to the MySQL server.

ssl

Controls whether connections created by the pool will use TLS or not.

ssl_ctx

The SSL context to use for connections using TLS.

username

User name that connections created by the pool should use to authenticate as.

Description

This is an owning type.

Experimental

This part of the API is experimental, and may change in successive releases without previous notice.


PrevUpHomeNext