...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Parameters defining how to perform the handshake with a MySQL server.
Defined in header <boost/mysql/handshake_params.hpp>
class handshake_params
Name |
Description |
---|---|
Retrieves the connection collation. |
|
Retrieves the database name to use when connecting. |
|
handshake_params [constructor] |
Initializing constructor. |
Retrieves whether multi-query support is enabled. |
|
Retrieves the password. |
|
Sets the connection collation. |
|
Sets the database name to use when connecting. |
|
Enables or disables support for the multi-query feature. |
|
Sets the password. |
|
Sets the SSL mode. |
|
Sets the username. |
|
Retrieves the SSL mode. |
|
Retrieves the username. |
Name |
Description |
---|---|
The default collation to use with the connection ( |
This object stores references to strings (like username and password), performing no copy of these values. Users are resposible for keeping them alive until required.