# Complex MySql Operation File

Runs the SQL commands in a file in chunks. Suitable for large SQL files.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `ConnectionSettings` | [`PAWMySqlConnectionSettings`](/doc/pawmysqlconnectionsettings-0XkbFaKW6q) | ✅Yes     | Contains the MySql database connection information. |
| `FilePath` | `String` | ✅Yes     | SQL file path |
| `ChunkSize` | `Int32` | ❌No      | Chunk size  |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsComplexMySqlOperationFileSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `ComplexMySqlOperationFileMessage` | `String` | Returns the error information received if the operation fails. |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |