mysql_set_server_option(3)

Sets server option #include f[B] f[R] int mysql_set_server_option(MYSQL * mysql, f[B]enumf[R] enum_m

Section 3 libmariadb-dev bookworm source

Description

mysql_set_server_option

Name

mysql_set_server_option - Sets server option

Synopsis

#include <mysql.h>

int mysql_set_server_option(MYSQL * mysql,
enum
enum_mysql_set_option);

Description

Sets server option.

Parameters

mysql - a mysql handle, which was previously allocated by mysql_init(3) and connected by mysql_real_connect(3).

enum_mysql_set_option - server option (see below) Server option, which can be one of the following values:

Image grohtml-77649-1.png

Return value

Returns zero on success, non-zero on failure.

See also

mysql_real_connect(3)