...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(EXPERIMENTAL) Parameters to be used with any_connection
connect functions.
Defined in header <boost/mysql/connect_params.hpp>
struct connect_params
Name |
Description |
---|---|
The ID of the collation to use for the connection. |
|
Database name to use, or empty string for no database (this is the default). |
|
Whether to enable support for executing semicolon-separated text queries. |
|
Password for that username, possibly empty. |
|
Determines how to establish a physical connection to the MySQL server. |
|
Controls whether to use TLS or not. |
|
User name to authenticate as. |
To be passed to any_connection::connect
and any_connection::async_connect
. Includes the server
address and MySQL handshake parameters.
Contrary to handshake_params
, this is an owning
type.
This part of the API is experimental, and may change in successive releases without previous notice.