Set options (original) (raw)

MYSQLI_OPT_CONNECT_TIMEOUT

connection timeout in seconds (supported on Windows with TCP/IP since PHP 5.3.1)

MYSQLI_OPT_LOCAL_INFILE

enable/disable use of LOAD LOCAL INFILE

MYSQLI_INIT_COMMAND

command to execute after when connecting to MySQL server

MYSQLI_READ_DEFAULT_FILE

Read options from named option file instead of my.cnf

MYSQLI_READ_DEFAULT_GROUP

Read options from the named group from my.cnf or the file specified with MYSQL_READ_DEFAULT_FILE.

MYSQLI_SERVER_PUBLIC_KEY

RSA public key file used with the SHA-256 based authentication. Available since PHP 5.5.0.

MYSQLI_OPT_NET_CMD_BUFFER_SIZE

The size of the internal command/network buffer. Only valid for mysqlnd. Available since PHP 5.3.0.

MYSQLI_OPT_NET_READ_BUFFER_SIZE

Maximum read chunk size in bytes when reading the body of a MySQL command packet. Only valid for mysqlnd. Available since PHP 5.3.0.

MYSQLI_OPT_INT_AND_FLOAT_NATIVE

Convert integer and float columns back to PHP numbers. Only valid for mysqlnd. Available since PHP 5.3.0.

MYSQLI_OPT_SSL_VERIFY_SERVER_CERT

Available since PHP 5.3.0.