Pergunta

To disable bin logging for a given table I understand I can use this command:

replicate-ignore-table=db_name.tbl_name

However I am unsure where I need to execute it?

Thanks,

Foi útil?

Solução

You have to add it to the configuration file (my.cfg) and restart MySQL.

This however is a SLAVE option, meaning that it should be in the config on the slave servers, and it tells them to ignore the updates to a particular table. It does not disable binary logging for that table, and other slaves can proceed the statements.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top