# BEGIN\_LOAD\_QUERY\_EVENT

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

## Header

* Event Type = 0x11.

## Fields

Fixed data part:

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

Variable data part:

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

## Example

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

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