...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(EXPERIMENTAL) Configuration parameters for connection_pool
.
Defined in header <boost/mysql/pool_params.hpp>
struct pool_params
Name |
Description |
---|---|
The timeout to use when connecting. |
|
Database name that connections created by the pool will use when connecting. |
|
Initial size (in bytes) of the internal buffer for the connections created by the pool. |
|
Initial number of connections to create. |
|
Max number of connections to create. |
|
Whether to enable support for semicolon-separated text queries for connections created by the pool. |
|
Password that connections created by the pool should use. |
|
The health-check interval. |
|
The timeout to use for pings and session resets. |
|
The interval between connect attempts. |
|
Determines how to establish a physical connection to the MySQL server. |
|
Controls whether connections created by the pool will use TLS or not. |
|
The SSL context to use for connections using TLS. |
|
User name that connections created by the pool should use to authenticate as. |
This is an owning type.
This part of the API is experimental, and may change in successive releases without previous notice.