SET GLOBAL SQL_SLAVE_SKIP_COUNTER
You are viewing an old version of this article. View
the current version here.
Syntax
SET GLOBAL sql_slave_skip_counter = N
Description
This statement skips the next N
events from the master. This is useful
for recovering from replication stops caused by a statement.
This statement is valid only when the slave threads are not running. Otherwise, it produces an error.
The statement does not automatically restart the slave threads.
Example
SHOW SLAVE STATUS \G ... SET GLOBAL sql_slave_skip_counter = 1; START SLAVE;
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.