We have a MySQL database with a replication set up (master to single slave). Some tables are skipped from replication (they are listed in Replicate_Wild_Ignore_Table when calling SHOW SLAVE STATUS). In the slave database the ignored table is present with no data.

The problem is the structure of one of the ignored tables was ALTER'ed on master and this change needs to be propagated to slave.

What is simplest non-breaking way of achieving that? Can I just run ALTER TABLE on slave, adding the necessary columns?


Never mind. Tried it and it worked without breaking anything.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.