Pregunta

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,

¿Fue útil?

Solución

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 bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top