Skip to content

MYSQL_CLIENT_T

This Object operates on client part of the MYSQL Connection.

This topic lists the expressions that are provided by this class.

CAPABILITIES

Returns the Client Flags. The list of possible flag values is in the

description of the Handshake Initialisation Packet, for

server_capabilities. For some of the bits, the server passed "what

it's capable of". The client leaves some of the bits on, adds others

and passes back to the server. One important flag is: whether

compression is desired. Another interesting one is

CLIENT_CONNECT_WITH_DB, which shows the presence of the optional

databasename).

Returns: num_at

CHAR_SET

Returns the character set of the client.

Returns: mysql_charset_e

DATABASE

Returns the Database name of the client.

Returns: text_t

USER

Returns the User associated with the client.

Returns: text_t