# COM\_SET\_OPTION

Enables or disables server option.

## Fields

* [int<1>](https://mariadb.com/docs/server/reference/clientserver-protocol/protocol-data-types) `0x1B` `COM_SET_OPTION` .
* [int<2>](https://mariadb.com/docs/server/reference/clientserver-protocol/protocol-data-types) option.

## **Options**

| Constant                            | Value |
| ----------------------------------- | ----- |
| `MYSQL_OPTION_MULTI_STATEMENTS_ON`  | 0     |
| `MYSQL_OPTION_MULTI_STATEMENTS_OFF` | 1     |

## Response

[EOF Packet](https://mariadb.com/docs/server/reference/clientserver-protocol/4-server-response-packets/eof_packet) on success or [ERR packet](https://mariadb.com/docs/server/reference/clientserver-protocol/4-server-response-packets/err_packet).

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
