I want to connect and execute one (or sometimes several) SQL statements, and NOT use replicated slaves.
I do not have replicate-do or replicate-ignore configurations, so I cannot usecreate an unreplicated database for sending commands. And I know about:
set global sql_slave_skip_counter = 1
But this is a slave. I would like to be able to run a similar command on the master and have the following N commands not sent to the slaves (which, I believe, is also not logged in binlogs).
source
share