# Bulk load from MySQL into file

### Description

The `Bulk load from MySQL into file` action bulk loads data from a MySQL table into a file.

### Options

| Option                       | Description                                                                                                                                           |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Action name                  | The name of the workflow action.                                                                                                                      |
| Connection                   | The database connection.                                                                                                                              |
| Target schema                | The target schema.                                                                                                                                    |
| Target File name             | The target file.                                                                                                                                      |
| High Priority                | The priority to load the file with.                                                                                                                   |
| Type                         | OUTFILE, DUMPFILE                                                                                                                                     |
| Field separator              | The field separator to use.                                                                                                                           |
| Fields enclosed by           | The field enclosure to use.                                                                                                                           |
| Optionally enclosed          |                                                                                                                                                       |
| Lines terminated by          | The line termination string to use.                                                                                                                   |
| Names of columns             | A comma separated list of columns to export                                                                                                           |
| Limit to the…​first lines    | Only export the first x number of rows                                                                                                                |
| If file exists               | <p>The action to take when the target file already exists:</p><ul><li>Create new with unique name</li><li>Do Nothing</li><li>Fail (default)</li></ul> |
| Add file to result filenames | Add the target file to the result filenames                                                                                                           |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/mysqlbulkfile.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
