| Home | Libraries | People | FAQ | More

##### connection::async_connect

Establishes a connection to a MySQL server.

    template<
        typename EndpointType,
        class CompletionToken>
    auto
    async_connect(
        const EndpointType& endpoint,
        const handshake_params& params,
        CompletionToken&& token);
      » more...

    template<
        typename EndpointType,
        class CompletionToken>
    auto
    async_connect(
        const EndpointType& endpoint,
        const handshake_params& params,
        diagnostics& diag,
        CompletionToken&& token);
      » more...