Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

client_errc

MySQL client-defined error codes.

Synopsis

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

enum client_errc
Values

Name

Description

incomplete_message

An incomplete message was received from the server (indicates a deserialization error or packet mismatch).

protocol_value_error

An unexpected value was found in a server-received message (indicates a deserialization error or packet mismatch).

server_unsupported

The server does not support the minimum required capabilities to establish the connection.

extra_bytes

Unexpected extra bytes at the end of a message were received (indicates a deserialization error or packet mismatch).

sequence_number_mismatch

Mismatched sequence numbers (usually caused by a packet mismatch).

unknown_auth_plugin

The user employs an authentication plugin not known to this library.

auth_plugin_requires_ssl

The authentication plugin requires the connection to use SSL.

wrong_num_params

The number of parameters passed to the prepared statement does not match the number of actual parameters.

server_doesnt_support_ssl

The connection mandatory SSL, but the server doesn't accept SSL connections.

Description

These errors are produced by the client itself, rather than the server.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext