Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

How to skip GTID transaction for a particular channel in MyQL?

$
0
0

We can skip a error in GTID based replication by following steps:

STOP SLAVE;
set GTID_NEXT='SERVER_UUID:LAST_TRANSACTION_NUMBER+1' ;
BEGIN; COMMIT; SET GTID_NEXT="AUTOMATIC";
START SLAVE;

But if a replication is running with channel information, than how to skip the transaction for a particular channel ?

We can give "for channel" keyword in stop slave and start slave. But how to skip transaction for a particular channel, like in set GTID_NEXT command or what ?


Viewing all articles
Browse latest Browse all 17268

Trending Articles