Object oriented style (method)
bool options(int option,
mysqli_options() can be used to set extra connect options and affect behavior for a connection.
This function may be called multiple times to set several options.
The parameter option is the option that you want to set, the value is the value for the option. The parameter option can be one of the following values:
|connection timeout in seconds|
|enable/disable use of |
|command to execute after when connecting to MySQL server|
Read options from named option file instead of |
Read options from the named group from |