# Error 4226: Slave SQL thread aborted

| Error Code | SQLSTATE | Error                  | Description                                                                        |
| ---------- | -------- | ---------------------- | ---------------------------------------------------------------------------------- |
| 4226       |          | ER\_INIT\_SLAVE\_ERROR | Slave SQL thread aborted. Can't execute init\_slave query due to error code %u: %s |

## Possible Causes and Solutions

Prior to the introduction of this error, there were multiple error codes reported for the issue 'Can't execute init\_slave query'. Those errors are the underlying reason the init\_slave query cannot be executed, but this made it difficult to detect the issue in an automated way.

This error code, ER\_INIT\_SLAVE\_ERROR, unifies all the errors related to the init\_slave query. The ER\_INIT\_SLAVE\_ERROR error is raised for any issue related to the init\_slave query, and the underlying error code and message are included in the Last\_SQL\_Error field. See those specific errors for more details.

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

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