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.

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?