mysql_options
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_options - Used to set extra connect options and affect behavior of a connection
#include <mysql.h>
int mysql_options(MYSQL * mysql,
enum mysql_option,
const void * arg);
Used to set extra connect options and affect behavior for a connection. This function may be called multiple times to set several options. mysql_options() should be called after mysql_init(3).
This function is deprecated, new implementations should use mysql_optionsv(3) api function instead.
An overview of the possible options can be found in the description of the mysql_optionsv(3) API function.