> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/clientserver-protocol/replication-protocol/begin_load_query_event.md).

# BEGIN\_LOAD\_QUERY\_EVENT

This event is written to the binary log file for [LOAD DATA INFILE](/docs/server/reference/sql-statements/data-manipulation/inserting-loading-data/load-data-into-tables-or-index/load-data-infile.md) events if the server variable `binlog_mode` is set to "`STATEMENT`".

## Header

* Event Type = 0x11.

## Fields

Fixed data part:

* [uint<4>](/docs/server/reference/clientserver-protocol/protocol-data-types.md#fixed-length-integers) The ID of the file.

Variable data part:

* [byte\<NULL>](/docs/server/reference/clientserver-protocol/protocol-data-types.md#fixed-length-bytes) Null terminated data block.

## Example

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

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