1mysql_options(3) MariaDB Connector/C mysql_options(3)
2
3
4
5 Name
6 mysql_options - Used to set extra connect options and affect behavior
7 of a connection
8
9 Synopsis
10 #include <mysql.h>
11
12 int mysql_options(MYSQL * mysql,
13 enum mysql_option,
14 const void * arg);
15
16 Description
17 Used to set extra connect options and affect behavior for a connection.
18 This function may be called multiple times to set several options.
19 mysql_options() should be called after mysql_init(3).
20
21 Notes
22 This function is deprecated, new implementations should use mysql_op‐
23 tionsv(3) api function instead.
24
25 Options
26 An overview of the possible options can be found in the description of
27 the mysql_optionsv(3) API function.
28
29 See Also
30 mysql_init(3) mysql_optionsv(3) *mysql_real_connect(3)
31
32
33
34Version 3.2.2 mysql_options(3)